Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.9K Views
|
5 Replies
|
6 Total Likes
View groups...
Share
Share this post:

VARIANCE and PDF

Posted 5 years ago
Attachment

Attachments:
5 Replies
Posted 5 years ago

Your first question seems to have nothing to do with your second question. (Maybe that is what you intended.)

Note: Corrected response thanks to Mauro Benjamin Mistretta.

For a sample of size $n$, the sample variances you describe with the denominator being $n-1$ and with the denominator of $n$ are found in the following manner:

(* Sample *)
x = {1, 2, 4, 5, 1, 2};
n = Length[x]
(* 6 *)

(* Sample variance with n-1 in the denominator *)
s2 = Variance[x]
 (* 27/10 *)

(* Sample variance with n in the denominator *)
variance = Variance[x] (n-1)/n

(* 9/4 *)

The sample mean is found with

Mean[x]
POSTED BY: Jim Baldwin
Posted 4 years ago

You are correct. I really messed up on that. Sorry.

I have corrected my response.

POSTED BY: Jim Baldwin
POSTED BY: Seth Chandler
Attachment

Attachments:
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard