DATA Step, Macro, Functions and more

Data set needed, please!

Reply
Occasional Contributor
Posts: 8

Data set needed, please!

I'm in a grad level multivariate stats class and I'm in need of a data set for my final project.  Data set must have:

 

1.  At least 200 observations

2.  At least 12 quantitative variables.

 

I'd like to do something with discriminant/classification analysis, but I'd take something with canonical correlation; principal component analysis, factor analysis, or MANOVA.

 

Any suggestions would be greatly appreciated.

 

Thanks!

Super User
Posts: 9,925

Re: Data set needed, please!

You can use the rand() function to create randomized numbers. In a data step, use a do loop to create as many observations as you want.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Super User
Posts: 9,925

Re: Data set needed, please!

There's also a very fine book out there by @Rick_SAS: Simulating data with SAS.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 2 replies
  • 124 views
  • 0 likes
  • 2 in conversation