Solved

SQL Server 2008 DistNorm Excel equivalent

Posted on 2013-12-15
2
413 Views
Last Modified: 2013-12-16
Hi there,

I have normalized data in a certain table, say:

Material ID     UserID     NormalizScore
1                          1              -2.9487
1                          2              -1.4771
etc

If in Excel, I could use  the function DIST.NORM, say  DIST.NORM(-1.4771;0;1;TRUE) , applied to the value -1.4771, to obtain (aprox.) 0.0698 meaning  there is 7% of the population (expected to be) below this normalized score.

Question: is there (what is) the SQL equivalent, please?

Thanks,
fskilnik.
0
Comment
Question by:fskilnik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
Rich Weissler earned 500 total points
ID: 39721215
TSQL in the MS SQL database engine doesn't include an equivalent function, and it isn't really intended as a statistical analysis package.  If the requirements are relatively modest and/or ad hoc, I think the best option would be to use SQL as the data store, with queries from Excel to retrieve data, and perform the analysis in Excel.  If you are willing to invest a fair amount of time, you can start doing data mining within SQL Server Analysis Server.
0
 

Author Comment

by:fskilnik
ID: 39721254
Hi, Razmus.

Thanks for the info and for the suggestion/link!

Through Google (what else?) I found exactly what I wanted... for the interested readers (and for myself in the future) here it is:

http://formaldev.blogspot.com.au/2012/09/T-SQL-NORMDIST-3.html

Regards,
fskilnik.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question