I have summary data.
i need to caclulate median and minimum value for those summary data.
I have other statistics values - standard deviation, variance, average.
so, how we can caclulate median and minimum value using this statistics values ?
let me know, if any questions.
Hi @nirav351,
So, you don't have access to the original data and the only available information is standard deviation, variance (redundant) and average?
This would render the calculation impossible, except for the trivial case that variance=0. With a little more information such as the number of non-missing values (N) and a distributional assumption about the data, at best, you could obtain (possibly very rough) estimates.
Also, how does your post relate to text mining (see forum title)? [Edit: In the meantime an administrator or super user has moved the thread to a more appropriate forum. Thanks!]
Without more info we can't help.
Given the current provided info it doesn't appear possible.
Here is an example:
data test;
input x @@;
dataset=ceil(_n_/5);
cards;
1 10 12 13 14
6 7 8 10 19
;
proc print data=test;
run;
proc means data=test var std mean median min;
by dataset;
run;
The two "datasets" (combined into one dataset TEST just to simplify the code) have 5 observations each. They have the same variance, standard deviation and mean (average), but their medians (12 vs. 😎 and minimum values (1 vs. 6) differ considerably.
An important thing is what distribution your data conform to? Normal , Poisson ?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.