Skip to content
Related Articles

Related Articles

Compute the value of Quantile Function over Wilcoxon Signedrank Distribution in R Programming – qsignrank() Function
  • Last Updated : 25 Jun, 2020

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:

filter_none

edit
close

play_arrow

link
brightness_4
code

# 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

chevron_right


Output:

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

Example 2:

filter_none

edit
close

play_arrow

link
brightness_4
code

# 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)

chevron_right


Output:

My Personal Notes arrow_drop_up
Recommended Articles
Page :