Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


Sim.DiffProc (version 2.1)

test_ks_dlognorm: Kolmogorov-Smirnov Tests (Log Normal Distribution)

Description

Performs one sample Kolmogorov-Smirnov tests.

Usage

test_ks_dlognorm(X, meanlog, sdlog)

Arguments

X
a numeric vector of data values.
meanlog
mean of the distribution.
sdlog
standard deviation of the distribution.

Value

  • A list with class "htest" containing the following components:
  • statisticthe value of the test statistic.
  • p.valuethe p-value of the test.
  • alternativea character string describing the alternative hypothesis.
  • data.namea character string giving the name(s) of the data.

Details

see detail ks.test.

Examples

Run this code
X <- rlnorm(1000,1,1)
test_ks_dlognorm(X, meanlog=1, sdlog=1)
test_ks_dnorm(log(X), mean=1, sd=1)

Run the code above in your browser using DataLab