Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. def func():
  2. n=float(input())
  3. k=float(input())
  4. R2=float(input())
  5. R2_adj=1-(1-R2)*((n-1)/(n-k))
  6. R2_adj=round(R2_adj, 2)
  7. print(f"Cкорректированный коэффициент детерминации: {R2_adj}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement