Question: This is R Programming Code. Please don't write it in java,C++ or anything else. ONLY R PROGRAMMING CODE THIS PROBLEM RQUIRED THE STATISTIC AND R

This is R Programming Code. Please don't write it in java,C++ or anything else. ONLY R PROGRAMMING CODE

THIS PROBLEM RQUIRED THE STATISTIC AND R PROGRAMMING EXPERT TO SOLVE

Create the t Distribution table using R programming CODE

1) Make a vector alphavec to hold the values .10; .05; ..... ; .0005 which appear at the top of the paper t table. 2) Make another vector nuvec to hold the values in the v column of the paper t table. Remember v is the same thing as df = degrees of freedom. 3) Build the paper t table any way you want. Call it myttable. It will have 7 columns and 39 rows. Name the rows and columns as in the paper table. 4) We know that as df increases, the t distribution converges to the standard normal distribution. Use R to find the smallest value of df for which the .975 quantile of the t distribution equals the .975 quantile of the standard normal distribution when both are rounded to two decimal places. Use a loop or not for this part. 5) Write an R function to answer the previous question for any quantile and any number of decimal places.

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 Databases Questions!