STATISTICS WITH R PROGRAMMING Question Paper PDF
STATISTICS WITH R PROGRAMMING Question Paper PDF
5. a) Write about scatter plot and histograms with examples? Explain its (7M)
importance?
b) How to plot multiple curves in same graph? Explain with example? (7M)
|''|'''||''||'''||||
Code No: R1621051 R16 SET - 2
4. a) Write about apply method in R? write about lapply,sapply with suitable (7M)
examples?
b) Write about different functions for statistical distribution. (7M)
5. a) How to plot multiple curves in same graph? Explain with example? (7M)
b) Plot the function g(t) = (t2 + 1)0.5 for t between 0 and 5.(using curve and plot (7M)
function)
PART –A
1. a) What are the data structures in R that is used to perform statistical analyses and (2M)
create graphs?
b) Write about linear vector algebra operations. (2M)
c) Write syntax of if else in R. (2M)
d) Define mean, median, mode and standard deviation. (2M)
e) Write R script to create a linegraph. (2M)
f) what is the use of par() function. (2M)
PART –B
2. a) How to apply same functions to all rows and columns of a matrix? (7M)
Explain with example.
b) Write R code to generate first n terms of a Fibonacci series (7M)
3. a) Write about user defined functions in R with suitable example? Explain about (7M)
default values and in return statements in functions?
b) Write a R program to implement quicksort. (7M)
4. a) Write about sort, rank and order functions with examples. Write about (7M)
functions for statistical distributions.
b) Explain about Finding Stationary Distributions of Markov Chains (7M)
1 of 1
|''|'''||''||'''||||
Code No: R1621051 R16 SET - 4
PART –A
1. a) Explain different matrix operation function in R? (2M)
b) Write about Boolean operators in R. (2M)
c) Write about basic math in R? (2M)
d) Write about plot function. (2M)
e) Explain dnorm() function (2M)
f) Define Multiple Regression (2M)
PART –B
2. a) Explain about Variables,constants and Data Types in R Programming (7M)
b) How to create, name ,access , merging and manipulate list elements? Explain (7M)
with examples.
4. a) Explain functions for accessing the keyboard and monitor, Reading and writing (7M)
files
b) Write a R function to find sample covariance. (7M)
1 of 2
|''|'''||''||'''||||
Code No: R1621051 R16 SET - 4
2 of 2
|''|'''||''||'''||||