mcatgb
asked on
Need help with programming in R stats software
Hi there, I need help with some programming in the R stats software.
Basically, I am trying to solve a question where they asking the following..
If you have a large SRS (Simple random sampling), you can estimate the sampling distribution of y mean (y with a - on top) by repeatedly taking samples of size n with replacement from the list of sample values.
Now, they want me to take 1000 samples (from the attached file agsrs.txt) with a replacement of size 100 and draw a histogram of the 1000 sample means.
How would one go about code this in R software?
Thanks!
agrsrs.txt
Basically, I am trying to solve a question where they asking the following..
If you have a large SRS (Simple random sampling), you can estimate the sampling distribution of y mean (y with a - on top) by repeatedly taking samples of size n with replacement from the list of sample values.
Now, they want me to take 1000 samples (from the attached file agsrs.txt) with a replacement of size 100 and draw a histogram of the 1000 sample means.
How would one go about code this in R software?
Thanks!
agrsrs.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I've requested that this question be deleted for the following reason:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned and is now flagged for deletion.
If there is a valid solution, please OBJECT and indicate the comments that are, or would otherwise lead to, a solution.
Use the specific format http:#axxxxxxxx for comment ID(s).
Also, please don't object simply because the author did not respond to your comment. While we understand this is frustrating, unfortunately we cannot force the author to return to the question. Unless you feel you have presented a valid, verifiable solution we'll simply delete the question.
Experts-Exchange Auto Deleter
No comment has been added to this question in more than 21 days, so it is now classified as abandoned and is now flagged for deletion.
If there is a valid solution, please OBJECT and indicate the comments that are, or would otherwise lead to, a solution.
Use the specific format http:#axxxxxxxx for comment ID(s).
Also, please don't object simply because the author did not respond to your comment. While we understand this is frustrating, unfortunately we cannot force the author to return to the question. Unless you feel you have presented a valid, verifiable solution we'll simply delete the question.
Experts-Exchange Auto Deleter
I object because my solution is valid given the question.
search histogram
I used this when I had to do R. R is a pain. So is CoCo. Gl buddy.