Open In App

Compute the value of Quantile Function over Wilcoxon Signedrank Distribution in R Programming – qsignrank() Function

Improve
Improve
Like Article
Like
Save
Share
Report

qsignrank() function in R Language is used to compute the value of Quantile Function(QF) over Wilcoxon Signedrank Statistic Distribution for a sequence of Numeric values.

Syntax: qsignrank(x, n)

Parameters:
x: Numeric Vector
n: Sample Size

Example 1:




# R Program to compute the value of
# QF over Wilcoxon Signedrank Distribution
  
# Creating a sequence of x-values
x <- seq(0, 1, by = 0.1)
  
# Calling qsignrank() Function
y <- qsignrank(x, n = 10)
y


Output:

 [1]  0 15 19 22 25 27 30 33 36 40 55

Example 2:




# R Program to compute the value of
# QF over Wilcoxon Signedrank Distribution
  
# Creating a sequence of x-values
x <- seq(0, 1, by = 0.02)
  
# Calling qsignrank() Function
y <- qsignrank(x, n = 15)
  
# Plot a graph
plot(y)


Output:


Last Updated : 25 Jun, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads