BookmarkSubscribeRSS Feed
Sandy
Calcite | Level 5

msb

msa

sd

r

70

85

225

0.81

        msb - denotes mean score before coaching,

        msa - denotes mean score after coaching

        sd - denotes sample standard deviation of the difference between individual scores

        r - denotes simple correlation between the scores

 

       If μD denotes the population mean of the difference between

       population score before and after coaching, then H0: μD =0 against H1: : μD ≠0 can be tested

       using statistic td, where td = 'on clip'

         that follows student’s t distribution with n-1 degrees of freedom.

       

       Help - writing data step to create a data set with a variable decision_message that must be

       assigned either “H0 is accepted” or “H0 is rejected".

      

       The sample size (n) will be sum of all digits of ID ='bg999999'

       level of significance will be sum of last 4 digits ID ='bg999999' divided by 400.

       Define ID=’bg999999’, and extract digits from variable ID to get both n and alpha.


clip_image002.gif
2 REPLIES 2
Sandy
Calcite | Level 5

I didnt mean to ask for the whole thing - But how do i determine μD


and td to compare to alpha and conclude either Ho or Ha.


Thanks

Anotherdream
Quartz | Level 8

μD is the population paramater for the DIffernce of scores before the coaching, and the difference of scores after testing. So in your example it is 85-70. However that is just a point estimate, and to do a hypothesis test you must find the upper and lower bounds of this estimate, and determine with X % confidence if the old number is within those bounds.

You are doing a comparsion between two means of Dependent Samples (t test), if that helps you in reference to your statistics book. I say it is a dependent sample because from your description it sounds like each person was given a test, and then coached, and then given a test again.

Question for you, why is your significance level related to your sample size / 400? You set the signifiance level (80%, 90%, 95%, 99%) and this can be totally un-related to your sample size.

Anyways, you are doing a t test with N-1 degrees of freedom, with mean=85-70, standard deviation = 225, and your R is irrelavent (in this case).

SO make an upper and lower bounds at your Alpha level of confidence, and if 70 is in that bounded area, then you cannot reject your null hypothesis. Otherwise you can

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 320 views
  • 0 likes
  • 2 in conversation