# [R] Which test should I use for comparing the change of two samples

Bert Gunter gunter.berton at gene.com
Mon Oct 29 14:52:15 CET 2012

```Is this homework? We don't do homework on this list.

You may also do better posting your question on
stats.stackexchange.com or other statistical list, as this appears to
be a statistics not an R question.

Cheers,

-- Bert

On Mon, Oct 29, 2012 at 6:12 AM, Tammy Ma <metal_licaling at live.com> wrote:
>
> Dear All,
>
> I have two samples as the following:
> conjps<-c(9.41,10.45,10.78,10.73,11.11,11.12,11.59,11.04,11.63)
>
> ms<-c(4.11,5.10,5.70,6.46,6.04,6.16, 6.24,6.32,7.33)
>
> I want to test the change of sample is same to the another one.
> conjps_ch<-c(1.04,0.33.....)
> ms<-c(0.99,0.60,0.76....)
>
>
> which test I should use, which conclusion can we drive based on the test?
>
> I used the following test:
>
>
> •Test Equality
> of Two Variances
>
>  F
> test to compare two variances
>
>
>
> data:
> conjps and ms
>
> F = 0.5419, num df = 8,
> denom df = 8,
> p-value = 0.4045
>
> alternative hypothesis: true ratio of
> variances is not equal to 1
>
> 95 percent confidence interval:
>
>  0.1222368 2.4024170
>
> sample estimates:
>
> ratio of variances
>
>
> 0.5419076
>
>
>
> is it correct? which conclusion can I get based on this?
>
>
> Thanks for help.
>
> Kind regards,
> Tammy
>
>         [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> and provide commented, minimal, self-contained, reproducible code.
>

--

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:

```