BookmarkSubscribeRSS Feed
sasphd
Lapis Lazuli | Level 10

I try  to test for the equality of standard deviation of variables A and B in proc model.

test std(A)=std(B);

but it does not work. I have this message.

ERROR: The function STD requires at least 2 arguments. There are too few arguments for the

       function STD.

if I test only the equality of parameters. I write

test a=b;

and it works.

1 REPLY 1
BruceBrad
Lapis Lazuli | Level 10

The test statement in proc model (as in other SAS procs) is for testing constraints on the parameters of the model - not for testing characteristics of the variables themselves. The most straightforward way to test for the equality of standard deviations would be with proc ttest.

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 768 views
  • 0 likes
  • 2 in conversation