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
Step: 1
Get Instant Access to Expert-Tailored 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