Course Answers

BUSINESS
COMPUTER SCIENCE
OTHER COURSES
My Profile

Solved: Random. (1 Point) Scrapie Is A Degenerative Disease Of The Nervous System. A Study Of The Substance IDX As A Treatment For Scrapie Used As Subjects 24 Infected Hamsters. Twelve, Chosen Infecte

random. (1 point) Scrapie is a degenerative disease of the nervous system. A study of the substance IDX as a treatment for scrapie used as subjects 24 infected hamsters. Twelve, chosen infected control hamsters had died by 94 days were injected with IDX. The other 12 were untreated. The researchers recorded how long each hamster lived. They reported: Thus, although after infection (mean 1.88), ID

Solved: 6. Research By Harvard Medical School Experts Suggests That Boys Are More Likely Than Girls To Grow Out Of Childhood Asthma When They Hit Their Teenage Years. Scientists Followed Over 1,000 Ch

6. Research by Harvard Medical School experts suggests that boys are more likely than girls to grow out of childhood asthma when they hit their teenage years. Scientists followed over 1,000 children between the ages of 5 and 12, all of whom had mild to moderate asthma. By the age of 18, 14% of the girls and 27% of the boys seemed to have grown out of asthma. Suppose their analysis was bas

Solved: The Results Of A Survey Found That People Were More Likely To Enjoy Coffee With Cream If They Lived In California (US) Than If They Lived In Vancouver (Canada). They Sampled People From Califo

The results of a survey found that people were more likely to enjoy coffee with cream if they lived in California (US) than if they lived in Vancouver (Canada). They sampled people from California and Vancouver. Out of 4594 Californian people, 2732 preferred coffee with cream. Out of 3526 Vancouver people, 659 preferred coffee with cream. Construct a 99% confidence interval for the difference bet

Solved: Find The Following Probabilities Based Upon Exponential Distribution: PE(T 5 M 1) PE(0.25 < T 1 M 2) PE(T 3.2 | M = 2)

Find the following probabilities based upon exponential distribution: PE(T 5 m 1) PE(0.25 < T 1 m 2) PE(T 3.2 | m = 2)

Solved: Hi, I Don’t Know How To Solve? What Would Be The Explanation? Can You Please Solve For Me Using Step By Step? Thank You! ?? The Correlation Between Two Variables A And B Is .25 With A P- Value

Hi, I don’t know how to solve? What would be the explanation? Can you please solve for me using step by step? Thank you! ?? The correlation between two variables A and B is .25 with a p- value of .08. What can we conclude?

Solved: 5. A Food Manufacturer Claims That Eating Its Cholesterol Levels. The Table Shows The Total Blood Cholesterol Levels (in Milligrams Per Deciliter Of Blood) Of Seven Patients Before Eating The

5. A food manufacturer claims that eating its cholesterol levels. The table shows the total blood cholesterol levels (in milligrams per deciliter of blood) of seven patients before eating the cereal and after one year of eating the cereal as part of their diets. Cholesterol levels new cereal as part of a daily diet will lower total blood are assumed to be normally distributed. Patient HDL+LD

Solved: In A States Pick 3 Lottery Game You Pay 1.29 To Select Sequence Of 3 Digits. (from 0 To 9) Such As 733. If Seleced The Same Sequence Of Three Digits That Are Drawn You Win $307.14.how Many Dif

in a states pick 3 lottery game you pay 1.29 to select sequence of 3 digits. (from 0 to 9) such as 733. if seleced the same sequence of three digits that are drawn you win $307.14. how many different selection are possible? what is probabily of winning? if win what is net profit? find expected value? if you bet $1.29 in certain states pick 4 the expected value is -$0.98. which bet is better a 1.29

Solved: (5 Points) The Number Of Major Faults On A Randomly Chosen 1 Km Stretch Of Highway Has A Poisson Distribution With Mean 1.4 The Random Variable X Is The Distance (in Km) Between Two Successive

Can someone help me e) and f)? Thanks. (5 points) The number of major faults on a randomly chosen 1 km stretch of highway has a Poisson distribution with mean 1.4 The random variable X is the distance (in km) between two successive major faults on the highway. Part a) What is the probability of having at least one major fault in the next 2 km stretch on the highway? Give your answer to 3 decimal p

Solved: Can You Please Explain How S Could E True Or False? It Is Okay To Violate The Assumption Of Independent Errors As Long As The Data Are Normally Distributed. Thank You! ?

Can you please explain how s could e true or false? It is okay to violate the assumption of independent errors as long as the data are normally distributed. Thank you! ?

Solved: 21. What Is The Required Sample-size For Teenage Driving Tickets If The Insurance Company Wants To Construct A 99% Confidence Interval With A Margin Of Error Of 7%

21. What is the required sample-size for teenage driving tickets if the insurance company wants to construct a 99% confidence interval with a margin of error of 7%

Solved: F. The Regression Equation For The Data Is: Life Expectency 70.69 0.12 People Per TV 1. Identify The Slope And Interpret The Slope In Terms Of Number Of TV Sets And A Person's Life Expectancy

f. The regression equation for the data is: Life Expectency 70.69 0.12 People Per TV 1. identify the slope and interpret the slope in terms of number of TV sets and a person's life expectancy in a complete sentence What, if anything, do we learn from the intercept? 3. According to this model, what should the life expectancy of a person be in a country that has 100 people per TV? How about 1 pe

Solved: Result From Excel. I Have Weekly Sales Data For Q1 And Q2. I Am Tasked In Finding Which Week Of Q2 Had The Biggest Increase In Total Dollars Between The Same Week In Q1. I Created 2 Tables One

Result from Excel. I have Weekly sales data for Q1 and Q2. I am tasked in finding which week of Q2 had the biggest increase in total dollars between the same week in Q1. I created 2 tables One for Q1 and one for Q2. 1st I calculated the % increase. I then calculated the Dollar amt. All went well and the data lined up for 3 of my customers. My one customer is showing a larger dollar amount in week

Solved: I Need Help With - ?b) Explain Why A Hypothesis Test May Be Used To Test Whether The Mean Tax Rates For The Two Genders Differ. - At The Bottom. Thanks! Do Women Feel Differently From Men When

I need help with - ?b) Explain why a hypothesis test may be used to test whether the mean tax rates for the two genders differ. - at the bottom. Thanks! Do women feel differently from men when it comes to tax? rates? One question on a survey of randomly selected adults? asked, "What percent of income do you believe individuals should pay in income? tax?" Gender   Tax Rate   Gen

Solved: Published Human Development Article Showed Life Expectancies By Country For Two Continents. Which Group (Continent A Or Continent B) Of Life Expectancies Do You Think Has The Larger Standard D

published human development article showed life expectancies by country for two continents. Which group (Continent A or Continent B) of life expectancies do you think has the larger standard deviation? Why? Find the standard deviation for each group. Compare them to illustrate that s is larger for the group that shows more variability from the mear Click the icon to view the data for each c

Solved: 1 Point) For Each Problem, Select The Best Response. We May Conclude (a) A 95% Confidence Interval For The Mean U Of A Population Be 104 Computed From A Random Sample And Found A. That There I

1 point) For each problem, select the best response. We may conclude (a) A 95% confidence interval for the mean u of a population be 104 computed from a random sample and found A. that there is a 95% probability that the true mean is 0 and a 95% chance the true margin of error is 4. B. 95% of the population is between 6 and 14. C. that there is a 95% probability that u is between 6 and 14. D. tha

Solved: The Manufacturer Of A Sports Car Claims That The Fuel Injection System Lasts 48 Months Before It Needs To Be Replaced. A Consumer Group Tests This Claim By Surveying A Random Sample Of 10 Owne

The manufacturer of a sports car claims that the fuel injection system lasts 48 months before it needs to be replaced. A consumer group tests this claim by surveying a random sample of 10 owners who had the fuel injection system replaced. The ages of the cars at the time of replacement were (in months): 27 48 41 48 53 46 30 51 42 52 (0) Use your calculator to calculate the mean age of a car

Solved: A Reaearcher Needs To Find Confidence Interaval Mean Of Normally Distributed Population. She Selects A Random Sample Of 28 Data From Population. The Researcher Does Not Know The Standard Devia

a reaearcher needs to find confidence interaval mean of normally distributed population. she selects a random sample of 28 data from population. the researcher does not know the standard deviation of population. to find cofidence interval should she use normal disturbutiob, t disturbution, or neither explain

Solved: (1 Point) Which Of The Following P-values Will Lead Us To Reject The Null Hypothesis If The Level Of Significance Equals 0.05? A. 0.10 B. 0.025 C. 0,055 D. 0.15 Using The Confidence Interval W

(1 point) Which of the following p-values will lead us to reject the null hypothesis if the level of significance equals 0.05? A. 0.10 B. 0.025 C. 0,055 D. 0.15 Using the confidence interval when conducting a two-tail test for the population mean , we do not reject the null hypothesis if the hypothesized value for OA. falls in the rejection region B. is the the right of the upper cconfidence limi

Solved: The Local Newspaper Is Conducting A Poll About How The Residents Of The City Feel About The Traffic During Rush Hour. Of 971 People Polled, 328 Responded That They Felt That It Was Manageable

A) B) Please answer separately The local newspaper is conducting a poll about how the residents of the city feel about the traffic during rush hour. Of 971 people polled, 328 responded that they felt that it was manageable or tolerable. Calculate the margin of error in order to find the 99% confidence interval for the proportion of people who feel that the traffic during rush hour is tolerable.

Solved: The School Board Is Looking To Add A New School Into A Very Large District. In Order To Determine If They Should Proceed With This Decision The Board Has Done A Survey Of 6861 People And 4969

The school board is looking to add a new school into a very large district. In order to determine if they should proceed with this decision the board has done a survey of 6861 people and 4969 responded in favour of the buliding of a new school. As this decision has huge implications for the members of the district the board has decided that a 99% confidence interval should be used. What is the lo

Solved: Question 22 The Event Of Pedestrians Walking Is A And The Event Of Cars Pulled Over For Speeding Is B. If These Events Are Events, And P(A) = 0.27, And P(B) 0.71, What Is P(B|A)? Independent P

Question 22 The event of pedestrians walking is A and the event of cars pulled over for speeding is B. If these events are events, and P(A) = 0.27, and P(B) 0.71, what is P(B|A)? independent Provide your answer below: FEEDBACK

Solved: 7. An Auto Manufacturer Wants To Establish A Confidence Interval For The Population Standard De- Viation Of The Gas Mileages In One Of Its Vehicle Models. A Random Sample Of 25 Vehicles Had A

7. An auto manufacturer wants to establish a confidence interval for the population standard de- viation of the gas mileages in one of its vehicle models. A random sample of 25 vehicles had a standard deviation of 1.28 (mpg) Use the x2-distribution with a = standard deviation. (Note that the value given is a standard deviation, not a particular, list the values /2.df and x-a/2)4t you use. co

Solved: In A Used Cae Lot The Mean Odometer Reading Of Cars Is 72,850 Miles With Standard Devation Of 11,046 Miles. Random Sample Of 78 Cars Is Chosen From This Lot. What Is Probability Mean Odometer

in a used cae lot the mean odometer reading of cars is 72,850 miles with standard devation of 11,046 miles. random sample of 78 cars is chosen from this lot. what is probability mean odometer reading selected cars between 71,848 miles and 75,498 miles? explain answer and give final probability rounded 4 decimals.

Solved: (1 Point) Dumping And Other Material-handling Operations Near A Landfill May Result In Contaminated Particles Being Emitted Into The Surrounding Air. To Estimate Such Particulate Emission, The

(1 point) Dumping and other material-handling operations near a landfill may result in contaminated particles being emitted into the surrounding air. To estimate such particulate emission, the following empirical formula can be used: E(V,M)=k(0.0032)(V5)1.4(M2)?1.3E(V,M)=k(0.0032)(V5)1.4(M2)?1.3 where EE is the emission factor (in pounds of particles released into the air per ton of soil moved),

Solved: There Is A ___ In ___ Chance That These Courses Will Be Selected. Please Fill In The 2 Blanks.

There is a ___ in ___ chance that these courses will be selected. Please fill in the 2 blanks. Homework: Section 1.3 Homework Score: 0 of 1 pt 3 of 4 (2 complete) HW Sc 1.3.7 A student entering a doctoral program in educational psychology is required to select three courses from the list of courses provided as part of his or her program (a) List all possible three-course selections (b)

Solved: Permutations And Combinations The Board Of Directors At Belford Community Hospital Has 12 Members. Three Officers, President, Vice President, And Treasurer--must Be Elected From Among The Memb

permutations and combinations the board of directors at Belford community hospital has 12 members. three officers, president, vice president, and treasurer--must be elected from among the members. how many different slates of officers are possible? a. do we use permutation rule or combination rule? what is the value of N, what is the value of R b. use the permutation rule with n = 12 and r = 3 to

Solved: Question 8 (1 Point) In A Certain High School, The Probability That A Student Drops Out Is 0.10 , And The Probability That A Dropout Gets A High-school Equivalency Diploma (GED) Is 0.21 What I

Question 8 (1 point) In a certain high school, the probability that a student drops out is 0.10 , and the probability that a dropout gets a high-school equivalency diploma (GED) is 0.21 What is the probability that a randomly selected student gets a GED? Write only a number as your answer. Round to four decimal places (for example: 0.2711). Do not write as a percentage. Your Answer:

Solved: Hi, I'm Having A Difficult Time Determining The Null And Alternative Hypothesis For The Following Problem: It Is Claimed That The Proportion Of Extreme Maximum Temperature (EMXT) With Temperat

Hi, I'm having a difficult time determining the null and alternative hypothesis for the following problem: It is claimed that the proportion of Extreme Maximum Temperature (EMXT) with temperatures over 32.5c (EMXT = 325) is the same for the month of July (Month=7) and August (Month=8). Test this claim using a hypothesis test at 1% level of significance. In order to perform this function, you need

Solved:

   Two methods, A and B, are available for teaching a certain industrial skill. There is a 75% chance of successfully learning the skill if method A is used, and a 95% chance of success if method B is used. However, method B is substantially more expensive and is therefore used only 20% of the time (method A is used the other 80% of the time) The following notations are suggested: A-

Solved: 1. You Toss Two Regular Dice A. Let A Be The Event That The Sum Of The Faces Is Seven. Show The Set Of All Outcomes Of A B. Let B Be The Event That The Sum Of The Faces Is Seven And The First

1. You toss two regular dice a. Let A be the event that the sum of the faces is seven. Show the set of all outcomes of A b. Let B be the event that the sum of the faces is seven and the first die landed on a 4 Show the set of all outcomes of B. C. Let B be the event that a double (two faces showing the same number) is not rolled given and the sum is greater than 10? Show the set of all outcom

Solved: The Principal Of Redundancy Is Used When Systems Reliability Is Improved Through Redundant. Assume A Students Alarm Clock Has A 10.9% Daily Failure Ratewhat Is Probability Students Alarm Wont

the principal of redundancy is used when systems reliability is improved through redundant. assume a students alarm clock has a 10.9% daily failure rate what is probability students alarm wont work morning of exam? if student has 2 alarms what is probability they both fail? what is probability of not being awakened if student uses 3 indepent alarms? do second and 3rd result in greatly improved rel

Solved: 2. [10 Points] Markov Chain A System Has Three Possible States, 0,1 And 2. Every Hour It Makes A Transition To A Different State, Which Is Determined By A Coin Flip. For Example, From State 0,

2. [10 Points] Markov Chain A system has three possible states, 0,1 and 2. Every hour it makes a transition to a different state, which is determined by a coin flip. For example, from state 0, it makes a transition to state 1 or state 2 with probabilities 0.5 and 0.5. a. Find the transition probability matrix b. Find the three-step transition probability matrix c. Find the steady-state distributi

Solved: Section Two Quality Control: Consistency In Some Business, Such As The Food Service Industry, The Consistency Of A Product Contributes Greatly To Customer Satisfaction. When A Customer Orders

Section two Quality control: Consistency In some business, such as the food service industry, the consistency of a product contributes greatly to customer satisfaction. When a customer orders a particular menu item on a regular basis, he or she expects to receive a product that has approximately the same taste and appearance each time. The challenge for a national chain is not only to have a

Solved: 4. [20 Points We First Examine A Sequence Of Rolls Of A Four-sided Die At An The Observed Outcome Xi E {1,2,3,4}. At Each Of These Times, The Casino Can Be In One Of Two States Z E1, 2}. When

4. [20 Points We first examine a sequence of rolls of a four-sided die at an the observed outcome Xi E {1,2,3,4}. At each of these times, the casino can be in one of two states z E1, 2}. When z = 1 the casino uses a fair die, while when z = 2 the die is biased so that rolling a 1 is more simple hidden Markov model (HMM). We observe a "occasionally dishonest casino", where at time likely

Solved: 3. [20 Points] Assume That We Have The Hidden Markov Model (HMM) Depicted In The Figure Below [4 Points] If Each Of The States Can Take On K Different Values And A Total Of M A. Possible (acro

3. [20 Points] Assume that we have the Hidden Markov Model (HMM) depicted in the figure below [4 Points] If each of the states can take on k different values and a total of m a. possible (across all states), how many parameters are different observations are required to fully define this HMM? Justify your answer b. [4 Points] What conditional independences hold in this HMM? Justify your answer [1

Solved: 1. [10 Points] For Each Of The Following Data Sets, Is It Appropriate To Use HMM? Provide A One Sentence Explanation To Your Answer: A. Stock Market Price Data B. Collaborative Filtering On A

1. [10 Points] For each of the following data sets, is it appropriate to use HMM? Provide a one sentence explanation to your answer: a. Stock market price data b. Collaborative filtering on a database of movie reviews: for example, Netflix challenge: predict about how much someone is going to enjoy a movie based on their and other users' movie preferences Daily precipitation data in Seattle d. Op

Solved: Heights Of A Female Students At Particular University Are Normally Distrubuted With A Mean Of 63.3 Inches And Standard Devation Of 3.4 Inches. Give A Height That Is Signifcantly Low Or High An

heights of a female students at particular university are normally distrubuted with a mean of 63.3 inches and standard devation of 3.4 inches. give a height that is signifcantly low or high and another height that is not significant. explain.

Solved: A C D E F G 1 2 3 4 Week 5 6 18 13 16 17 14 Value 11 Consider The Following Time Series Data. Excel File: Data17-03.xls Week 4 6 1 2 5 Value 16 18 13 11 17 14 Calculate The Measures Of Forecas

A C D E F G 1 2 3 4 Week 5 6 18 13 16 17 14 Value 11 Consider the following time series data. Excel File: data17-03.xls Week 4 6 1 2 5 Value 16 18 13 11 17 14 Calculate the measures of forecast error using the naive method and the average of past values. Naive method Average of past values 4.4 2.73 Mean absolute error (to 1 decimal) Mean squared error (to 1 decimal) Mean absolute percentage err

Solved: The Manufacturer Of Hardness Testing Equipment Uses? Steel-ball Indenters To Penetrate Metal That Is Being Tested.? However, The Manufacturer Thinks It Would Be Better To Use A Diamond Indente

The manufacturer of hardness testing equipment uses? steel-ball indenters to penetrate metal that is being tested.? However, the manufacturer thinks it would be better to use a diamond indenter so that all types of metal can be tested. Because of differences between the two types of? indenters, it is suspected that the two methods will produce different hardness readings. The metal specimens to be

Solved: Two Methods, A And B, Are Available For Teaching A Certain Industrial Skill. There Is A 75% Chance Of Successfully Learning The Skill If Method A Is Used, And A 95% Chance Of Success If Method

Two methods, A and B, are available for teaching a certain industrial skill. There is a 75% chance of successfully learning the skill if method A is used, and a 95% chance of success if method B is used. However, method B is substantially more expensive and is therefore used only 20% of the time (method A is used the other 80% of the time) The following notations are suggested: A-method A is used

Solved: Consider The Following Time Series Data. Week 1 2 4 5 3 Value 18 13 16 17 14 11 Using The Average Of All The Historical Data As A Forecast For The Next Period, Compute The Following Measures O

Consider the following time series data. Week 1 2 4 5 3 Value 18 13 16 17 14 11 Using the average of all the historical data as a forecast for the next period, compute the following measures of forecast accuracy. Round your answers to two decimal places. a. Mean absolute error. 2.73 b. Mean squared error. 10.86 c. Mean absolute percentage error. d. What is the forecast for week 7? The values of

Solved: A Sample Of 32 Women Is Obtained And Heights In Inches And Pulse Rate In Beats Per Minute. The Linear Corralation Coefficient Is 0.284 And Equation Of Regression Line Is Y^=17.8+0.870x Where X

a sample of 32 women is obtained and heights in inches and pulse rate in beats per minute. the linear corralation coefficient is 0.284 and equation of regression line is y^=17.8+0.870x where x is height. the mean of 32 height is 62.8 and the mean of 32 pulse rate is 76.1 beats per minue. find best predicted pulse rate of women who is 75 in tall

Solved: (1 Point) Based On A Random Sample Of 50, A 95% Confidence Interval For The Population Proportion Was Computed. Holding Everything Else Constant, Which Of The Following Will Reduce The Length

(1 point) Based on a random sample of 50, a 95% confidence interval for the population proportion was computed. Holding everything else constant, which of the following will reduce the length of the confidence interval by half? (CHECK ALL THAT APPLY): A. Decrease the sample proportion by half. B. Double the sample size. C. Quadruple the sample size. D. Change the confidence level to 68%. E. Chang

Solved: Again We Have Two Methods, A And B, Available For Teaching A Certain Industrial Skill. There Is A 75% Chance Of Successfully Learning The Skill If Method A Is Used, And A 95% Chance Of Success

Again we have two methods, A and B, available for teaching a certain industrial skill. There is a 75% chance of successfully learning the skill if method A is used, and a 95% chance of success if method B is used. However, method B is substantially more expensive and is therefore used only 20% of the time (method A is used the other 80% of the time). What is the probability that a randomly chosen

Solved: Again We Have Two Methods, A And B, Available For Teaching A Certain Industrial Skill. There Is A 75% Chance Of Successfully Learning The Skill If Method A Is Used, And A 95% Chance Of Success

Again we have two methods, A and B, available for teaching a certain industrial skill. There is a 75% chance of successfully learning the skill if method A is used, and a 95% chance of success if method B is used. However, method B is substantially more expensive and is therefore used only 20% of the time (method A is used the other 80% of the time) A worker learned the skill successfully. What i

Solved: I Need Help At The Very Bottom With - State The Appropriate Conclusion. Choose The Correct Answer Below. - Thank You! A Researcher Wanted To Determine If Carpeted Rooms Contain More Bacteria T

I need help at the very bottom with - State the appropriate conclusion. Choose the correct answer below. - Thank you! A researcher wanted to determine if carpeted rooms contain more bacteria than uncarpeted rooms. The table shows the results for the number of bacteria per cubic foot for both types of rooms. Carpeted   Uncarpeted 7.3   7 6.7   9.3 14.5   5.2

Solved: Certain Memory Chips Are Made From Silicon Wafers. The Wafers Are Routed Through Machines In An Order That Is Referred To As A Recipe. The Wafers May Go Through The Same Machine Several Times

Certain memory chips are made from silicon wafers. The wafers are routed through machines in an order that is referred to as a recipe. The wafers may go through the same machine several times as the chip is created. The data given below is a sample of processing? times, measured in fractions of? hours, at a particular machine center for one chip recipe. Certain memory chips are made from silicon

Solved: Again We Have Two Methods, A And B, Available For Teaching A Certain Industrial Skill. There Is A 75% Chance Of Successfully Learning The Skill If Method A Is Used, And A 95% Chance Of Success

Again we have two methods, A and B, available for teaching a certain industrial skill. There is a 75% chance of successfully learning the skill if method A is used, and a 95% chance of success if method B is used. However, method B is substantially more expensive and is therefore used only 20% of the time (method A is used the other 80% of the time). Which of the following is the correct probabili

Solved: McCain Foods (Canada) Of New Brunswick Produces Frozen French Fries. Suppose One Line Of Fries Has An Average Length Of 7.71 Centimetres With A Standard Deviation Of 2.78 Centimetres. To Make

McCain Foods (Canada) of New Brunswick produces frozen French fries. Suppose one line of fries has an average length of 7.71 centimetres with a standard deviation of 2.78 centimetres. To make sure that the quality standard is met, they plan to select a random sample of 100 fries each day. Yesterday, the sample mean was 7.68 centimetres. To calculate the probability that the mean would be 7.68 cen

Solved: The National Football League (NFL) Records A Variety Of Performance Data For Individuals And Teams. To Investigate The Importance Of Passing On The Percentage Of Games Won By A Team, The Passi

The National Football League (NFL) records a variety of performance data for individuals and teams. To investigate the importance of passing on the percentage of games won by a team, the passing yards per attempt (Yds/Att), the number of interceptions thrown per attempt (Int/Att), and the percentage of games won following data show the conference (Conf), average number (Win%) for a random sample