IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 102 forks source link

Correct the probability keyboard #8940

Closed rdstern closed 1 month ago

rdstern commented 2 months ago

@Fidel365 These corrections are (I hope) all minor. I list those I have found so far, and there may be more to come. Please try each one after making the corrections. The tooltips should help.

a) Second row first, you will see why below: 1) qnorm is ok. Give, say 0.9 and you get the result. 2) qt If you do the same, say qt(0.9) you get an error - and this is the same for most of the keys. That's because it is the t distribution, so you have to include the degrees of freedom. so qt(0.9, 5) is ok. So the key, when the arguments box is unchecked should be qt( , ). I hope that is clear, because it will be similar for the other keys. 3) qchisq( ) is the same change as qt. 4) qf( ) becomes qf( , , ), because you have to give 2 values there. 5) qgamma is the same change as qt.
6) In addition when showing the parameters qgamma has an exta closing bracket. b) Can you now correct the first row as well The correction of commas are the same, but there is an additional problem that pchisq accidentally gives pt and pf gives pchisq. Not also the extra closing bracket on pgamma when parameters are shown. c Rows 3 and 4 1) pbeta and qbeta are the same as qf. they become pbeta( , , ) and qbeta( , , ). And they have the extra bracket with the parameters shown. 2) pbirth and qbirth are ok as they are. 3) pbinom and qbinom are the same as pbeta and qbeta. In addition with parameters they have the extra closing bracket. 4) ppois & apois, Just one comma and get rid of extra bracket. 5) pnbin & qnbinom 3 (yes 3) commas and get rid of extra bracket. d) Rows 5 and 6 1) choose and lchoose 2 commas added. No bracket problem 2) beta and lbeta 2 commas to add. Other keys are ok,