BookmarkSubscribeRSS Feed
medphys
Calcite | Level 5

Dear users

How can I solve these two problems by SAS software.

1.   A normally distributed random variable has an unknown mean Pand a known variance V2= 9. Find
the sample size required to construct a 95 percent confidence interval on the mean, that has total width of
1.0. 

 

2. A new filtering device is installed in a chemical unit. Before its installation, a random sample
yielded the following information about the percentage of impurity: y1= 12.5, S12=101.17   (variance S1), and n1= 8.
After installation, a random sample yielded y2= 10.2, S22= 94.73  (variance S2)   , n2= 9.

(a) Can you concluded that the two variances are equal? Use D= 0.05.

(b) Has the filtering device reduced the percentage of impurity significantly? Use D= 0.05.

 

Best regards

3 REPLIES 3
PeterClemmensen
Tourmaline | Level 20

What have you tried yourself so far?

medphys
Calcite | Level 5

Nothing

Reeza
Super User

1. PROC POWER

2. PROC ANOVA/TTEST but I'm not familiar with D, so thats something unique that your field is using.

 


@medphys wrote:

Dear users

How can I solve these two problems by SAS software.

1.   A normally distributed random variable has an unknown mean Pand a known variance V2= 9. Find
the sample size required to construct a 95 percent confidence interval on the mean, that has total width of
1.0. 

 

2. A new filtering device is installed in a chemical unit. Before its installation, a random sample
yielded the following information about the percentage of impurity: y1= 12.5, S12=101.17   (variance S1), and n1= 8.
After installation, a random sample yielded y2= 10.2, S22= 94.73  (variance S2)   , n2= 9.

(a) Can you concluded that the two variances are equal? Use D= 0.05.

(b) Has the filtering device reduced the percentage of impurity significantly? Use D= 0.05.

 

Best regards


 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 2154 views
  • 0 likes
  • 3 in conversation