how to encode statistical formula

M

MikhailGr

Hello,
Could you please help me to encode the following formula:

[SUM[(X(i) - Mean(X))^4] / ( ((SUM[(X(i) - Mean(X))^2] / N)^2) ] / N

where X(i) is group of numbers stored in cell range A1:A100.

Thanks.
 
B

Bob Greenblatt

Hello,
Could you please help me to encode the following formula:

[SUM[(X(i) - Mean(X))^4] / ( ((SUM[(X(i) - Mean(X))^2] / N)^2) ] / N

where X(i) is group of numbers stored in cell range A1:A100.

Thanks.
You almost have it. Try:
=(sum(a1:a100)-mean(a1:a100)^4)/(((sum(a1:a100)-mean(a1:a100))^2/n)^2)/n

You need to define N as a cell or internal name.
 
M

Mike Middleton

MikhailGr -

What do you mean by "encode"?

Instead of a single formula, I recommend that you use extra "helper" columns
on the worksheet. (There's lots of room.)

To calculate the mean, use Excel's AVERAGE function in a cell.

For "N", either substitute 100 or use the COUNT function in a cell.

Use one column for the deviation, i.e., X minus an absolute reference to the
AVERAGE function's cell.

Use another column for deviation^4 and another for deviation^2. Sum those
columns.

Then use a cell to combine all of the intermediate calculations.

When you break up the calculations as described above, it's much easier to
detect bugs.

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel
 
J

jonn2

comment3, <http://ivomi.com/dog-fence/index.html> Dog Fence, ont, <http://ivomi.com/dog-fence/wireless-dog-fence.html> Wireless Dog Fence, 725, <http://ivomi.com/dog-fence/electric-dog-fence.html> Electric Dog Fence, axkstu, <http://ivomi.com/dog-fence/dog-fences.html> Dog Fences, kno, <http://ivomi.com/dog-fence/invisible-dog-fence.html> Invisible Dog Fence, 76066, <http://ivomi.com/dog-fence/wireless-dog-fences.html> Wireless Dog Fences, 698816, <http://ivomi.com/dog-fence/how-to-install-dog-electric-fence.html> How To Install Dog Electric Fence, vuq, <http://ivomi.com/dog-fence/underground-dog-fence.html> Underground Dog Fence, ewz, <http://ivomi.com/dog-fence/electric-dog-fences.html> Electric Dog Fences, 63162, <http://ivomi.com/dog-fence/electronic-dog-fence.html> Electronic Dog Fence, :], <http://ivomi.com/dog-fence/dog-electric-fence.html> Dog Electric Fence, :[[, <http://ivomi.com/dog-fence/dog-fence-accessories.html> Dog Fence Accessories, trdit, <http://ivomi.com/dog-fence/dog-+-invesible-fence.html> Dog + Invesible Fence, qcbud, <http://ivomi.com/dog-fence/dog-feces.html> Dog Feces, 0346, <http://ivomi.com/dog-fence/treated-dog-ear-fence-panel.html> Treated Dog Ear Fence Panel, 35510, <http://ivomi.com/dog-fence/wireless-fence-for-small-dog.html> Wireless Fence For Small Dog, vnt, <http://ivomi.com/dog-fence/radio-dog-fence.html> Radio Dog Fence, :-DDD, <http://ivomi.com/dog-fence/petsafe-stubborn-dog-radio-fence.html> Petsafe Stubborn Dog Radio Fence, dru, <http://ivomi.com/dog-fence/invisible-dog-fences.html> Invisible Dog Fences, 92896, <http://ivomi.com/dog-fence/dog-fence-trencher.html> Dog Fence Trencher, %-O, <http://ivomi.com/dog-fence/dog-wire-fence.html> Dog Wire Fence, 765354, <http://ivomi.com/dog-fence/dog-eating-feces.html> Dog Eating Feces, jtng, <http://ivomi.com/dog-fence/dog-fence-prank-call.html> Dog Fence Prank Call, lcofu, <http://ivomi.com/dog-fence/portable-dog-fences.html> Portable Dog Fences, jdarv, <http://ivomi.com/dog-fence/dog-pipe-fence.html> Dog Pipe Fence, enozkk, <http://ivomi.com/dog-fence/brandon-dicamillo-dog-fence.html> Brandon Dicamillo Dog Fence, >:], <http://ivomi.com/dog-fence/fence-pet-dog-electric-wood-home-garden.html> Fence Pet Dog Electric Wood Home Garden, 121, <http://ivomi.com/dog-fence/dog-fence-wire.html> Dog Fence Wire, phlm, <http://ivomi.com/dog-fence/ground-dog-fence.html> Ground Dog Fence, :-DDD, <http://ivomi.com/dog-fence/brandon-dicamillo-dog-fence-prank-phone-call.html> Brandon Dicamillo Dog Fence Prank Phone Call, 753, <http://ivomi.com/dog-fence/fence-dog.html> Fence Dog, >:-DDD, <http://ivomi.com/dog-fence/sport-dog-fence.html> Sport Dog Fence, 582334, <http://ivomi.com/dog-fence/white-dog-feces.html> White Dog Feces, ham, <http://ivomi.com/dog-fence/inotek-dog-fence.html> Inotek Dog Fence, =(((, <http://ivomi.com/dog-fence/petsafe-electric-radio-dog-fence.html> Petsafe Electric Radio Dog Fence, 6032, <http://ivomi.com/dog-fence/reviews-pet-safe-big-dog-fence.html> Reviews, Pet Safe, Big Dog Fence, 537, <http://ivomi.com/dog-fence/k9-dog-fence.html> K9 Dog Fence, =[, <http://ivomi.com/dog-fence/invisible-fence-for-dog.html> Invisible Fence For Dog, =-[, <http://ivomi.com/dog-fence/stop-dog-eating-feces.html> Stop Dog Eating Feces, 16971, <http://ivomi.com/dog-fence/wireless-electric-dog-fence.html> Wireless Electric Dog Fence, 12590, <http://ivomi.com/dog-fence/invisable-dog-fence.html> Invisable Dog Fence, czlsjy, <http://ivomi.com/dog-fence/temporary-dog-fence.html> Temporary Dog Fence, 8175, <http://ivomi.com/dog-fence/stubborn-dog-fences.html> Stubborn Dog Fences, :p, <http://ivomi.com/dog-fence/invisible-dog-fence-discount.html> Invisible Dog Fence Discount, txui, <http://ivomi.com/dog-fence/dog-radio-fence.html> Dog Radio Fence, 8-DD, <http://ivomi.com/dog-fence/dog-proof-fence.html> Dog Proof Fence, =-))), <http://ivomi.com/dog-fence/ctric-dog-fence.html> Ctric Dog Fence, 6917, <http://ivomi.com/dog-fence/dog-watch-fence.html> Dog Watch Fence, >:-]], <http://ivomi.com/dog-fence/do-invisible-fences-work-with-cats.html> Do Invisible Fences Work With Cats, aff, <http://ivomi.com/dog-fence/dog-watch-invisible-fence-schematisc-diagrams.html> Dog Watch Invisible Fence Schematisc Diagrams, ovb,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top