on a card, putting the cards in an urn, and shuffling the urn. Then, pull out cards one by one andset them aside, stopping when the specifiedsample sizeis reached.We’veproducedtwosamplesofthesalary_datatableinthisway:small_srswor_salary.csvandlarge_srswor_salary.csvcontain,respectively,asampleof size 44 (the same as the convenience sample) and a larger sample of size 100.Theload_datafunction below loads a salary table and joins it withplayer_data.
Get answer to your question and much more
Question 3.6Run the same analyses on the small and large samples that you previously ran onthe full dataset and on the convenience sample. Which is more accurate, the estimate of populationstatistics that we get from the convenience sample, the estimate from the small simple randomsample, or the estimate from the large simple random sample? (Just notice this for yourself -- theautograder will check your sample statistics but will not validate whatever you do to compare.)
Get answer to your question and much more