Hi all,
I am trying to assess how well does my data fits a gamma distribution. I already used the gammafit command, and now I want to see how well does my data fits the theoretical gamma distribution. I want to know how to use the ksmirnov command to do this.
As an example, i can create a gamma distribution and see whether it fits the gamma distribution using the ksmirnov command. Thing is I would need some help to see how to use the ksmirnov command to see whether my variable fits a theoretical gamma distribution:
gen t = rgamma(2, 3)
ksmirnov t = rgamma(2, 3) [is this the right way of doing this??]
I am trying to assess how well does my data fits a gamma distribution. I already used the gammafit command, and now I want to see how well does my data fits the theoretical gamma distribution. I want to know how to use the ksmirnov command to do this.
As an example, i can create a gamma distribution and see whether it fits the gamma distribution using the ksmirnov command. Thing is I would need some help to see how to use the ksmirnov command to see whether my variable fits a theoretical gamma distribution:
gen t = rgamma(2, 3)
ksmirnov t = rgamma(2, 3) [is this the right way of doing this??]
Comment