Question: 3 . Computer Exercise C 6 For this exercise, you will be using a variation of CRIME 1 , which contains cross - sectional data

3. Computer Exercise C6
For this exercise, you will be using a variation of CRIME1, which contains cross-sectional data on the number of arrests in 1986, proportion of prior convictions, time spent in prison during 1986, and number of quarters employed in 1986, among other variables describing individuals' characteristics.
The following section gives detailed information about the variables within the data set:
Variable Descriptions
narr86narr86= number of times arrested, 1986nfarr86nfarr86= number of felony arrests, 1986nparr86nparr86= number property crime arrests, 1986pcnvpcnv= proportion of prior convictionsavgsenavgsen=average sentence length, monthstottimetottime= time in prison since turning 18 years old (months)ptime86ptime86= months in prison during 1986qemp86qemp86= number of quarters employed, 1986inc86inc86= legal income, 1986, $100sduratdurat= recent unemp durationblackblack=1 if blackhispanhispan=1 if Hispanicborn60born60=1 if born in 1960pcnvsqpcnvsq= pcnv2pcnv2ptime86sqptime86sq= ptime862ptime862inc86sqinc86sq= inc862inc862
Open any of the following data files to reference the data from CRIME1. Use the chosen data file to answer each of the following questions.
Open R File
Open Excel File
Open Stata File
(i)
Use OLS to estimate a linear probability model to determine the likelihood that a young male was arrested during 1986: arr86=0+1pcnv+2avgsen+3tottime+4ptime86+5qemp86+uarr86=0+1pcnv+2avgsen+3tottime+4ptime86+5qemp86+u, where narr86narr86is the binary variable. If a man was arrested during 1986, arr86=1arr86=1, otherwise arr86=0arr86=0.
The estimated equation is as follows: arr86=arr86^=0.4434+(-0.1597)pcnvpcnv+0.0061avgsenavgsen+(-0.0016)tottimetottime+(-0.0226)ptime86ptime86+(-0.0431)qemp86qemp86.
Obtain the fitted values from the regression.
The smallestfitted value is approximately 0.0120and the largestfitted value is approximately 1.
(ii)
Estimate the following equation by weighted least squares using weights 1hi1hi^, where hi=arr86i(1arr86i)hi^=arr86i^1arr86i^.(Hint: Run the regression without an intercept and note that 00^is a coefficient of 1hi1hi^.)
The estimated equation is as follows: arr86*=arr86*^=int*int*+pcnv*pcnv*+avgsen*avgsen*+tottime*tottime*+ptime86*ptime86*+qemp86*qemp86*.
(iii)
Use the WLS estimates to determine whether avgsenavgsenand tottimetottimeare jointly significant at the 5% significance level.
The estimated equation is as follows: arr86*=arr86*^=int*int*+pcnv*pcnv*+ptime86*ptime86*+qemp86*qemp86*.
The variables avgsenavgsenand tottimetottimejointly significant at the 5% significance level, as the Fstatistic for their joint significance is aboutwith p-value equal to.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!