Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

What's the equivalent of this R function in python

$
0
0

I've this variables in R:

n <- 112 #Observations 
p <- 4 # Variables
alpha <- 0.05 # Alpha is alpha 
quant=qt(1-alpha/2,n-p-1) # which is 1.982383

From my researches, qt function from R is related with T distribution,

R - qt function syntax

My Question :

How can I get the equivalent in python ?

Thank you if you can help


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>