Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Variance in SAS

  1. Mar 2, 2008 #1
    1. The problem statement, all variables and given/known data

    Howdy I got a datasheet in the SAS data system with 3 variables and 60 obs.

    How do I most simply get SAS to calculate the variance?

    2. Relevant equations



    3. The attempt at a solution

    data cnn;
    input vara varb snt@@;
    datalines;
    .....
    ......
    ......

    run;
    proc sort;
    by vara;
    run;
    proc means;
    by vara;
    run;


    Which code to I add to get it to calculate the variance of the three vars??

    Thanks in advance
    Maria.
     
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted