Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 2.5 Does the convenience sample give us an accurate picture of the age and salary of the full population of NBA players in 2014-2015?
Question 2.5 Does the convenience sample give us an accurate picture of the age and salary of the full population of NBA players in 2014-2015? Would you expect it to, in general? Before you move on, write a short answer in English below. You can refer to the statistics calculated above or perform your own analysis. SOLUTION: No, the convenience sample does not give us an accurate picture of the age and salary of the full population of NBA players in 2014-2015. We would not expect it to, because it is biased towards players younger than 22. Simple random sampling A more principled approach is to sample uniformly at random from the players. If we ensure that each player is selected at most once, this is asimple random sample without replacement, sometimes abbreviated to "simple random sample" or "SRSWOR". Imagine writing down each player's name on a card, putting the cards in an urn, and shuffling the urn. Then, pull out cards one by one and set them aside, stopping when the specified sample size is reached. We've produced two samples of the salary_data table in this way: small_srswor_salary . csv and large_srswor_salary . csv contain, respectively, a sample of size 44 (the same as the convenience sample) and a larger sample of size 100. The load_data function below loads a salary table and joins it with player_data. In [ ] : def load_data (salary_file): return player_data. join( 'Name' , Table . read_table (salary_file), 'PlayerName' )
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started