Your SlideShare is downloading. ×
0
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Matlab: Linear Methods, Quantiles

3,357

Published on

Matlab: Linear Methods, Quantiles

Matlab: Linear Methods, Quantiles

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,357
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Matlab:Linear Methods<br />
  • 2. Quantile<br />Quantiles are points taken at regular intervals from the cumulative distribution function (CDF) of a random variable. Dividing ordered data into n essentially equal-sized data subsets is the motivation for n-quantiles; the quantiles are the data values marking the boundaries between consecutive subsets.<br />
  • 3. Quantile<br />Some quantiles have special names:<br />The 2-quantile is called the median<br />The 3-quantiles are called tertiles or terciles -> T<br />The 4-quantiles are called quartiles -> Q<br />The 5-quantiles are called quintiles -> QU<br />The 9-quantiles are called noniles (common in educational testing)-> NO<br />The 10-quantiles are called deciles -> D<br />The 12-quantiles are called duo-deciles -> Dd<br />The 20-quantiles are called vigintiles -> V<br />The 100-quantiles are called percentiles -> P<br />The 1000-quantiles are called permillages -> Pr<br />
  • 4. Quantile<br />Y = quantile(X,p) returns quantiles of the values in X. p is a scalar or a vector of cumulative probability values. When X is a vector, Y is the same size as p, and Y(i) contains the p(i)thquantile. When X is a matrix, the ith row of Y contains the p(i)thquantiles of each column of X. For N-dimensional arrays, quantile operates along the first nonsingleton dimension of X.<br />
  • 5. Quantile<br />Examples:<br />y = quantile(x,.50); % the median of x<br />y = quantile(x,[.025 .25 .50 .75 .975]); % Summary of x<br />
  • 6. Least Squares Fitting<br />Least squares fitting is a mathematical procedure for finding the best-fitting curve to a given set of points by minimizing the sum of the squares of the offsets (&quot;the residuals&quot;) of the points from the curve.<br />
  • 7. Least Squares Fitting<br />
  • 8. Least Squares Fitting<br />In practice, the vertical offsets from a line (polynomial, surface, hyper-plane, etc.) are almost always minimized instead of the perpendicular offsets.<br />
  • 9. mldivide, mrdivide<br />mldivide(A,B) and the equivalent AB perform matrix left division (back slash). A and B must be matrices that have the same number of rows, unless A is a scalar, in which case AB performs element-wise division — that is, AB = A.B.<br />
  • 10. mldivide, mrdivide<br />mrdivide(B,A) and the equivalent B/A perform matrix right division (forward slash). B and A must have the same number of columns.<br />
  • 11. Generalized Linear Models<br />Linear regression models describe a linear relationship between a response and one or more predictive terms. Many times, however, a nonlinear relationship exists. Nonlinear Regression describes general nonlinear models. A special class of nonlinear models, known as generalized linear models, makes use of linear methods.<br />
  • 12. Visit more self help tutorials<br />Pick a tutorial of your choice and browse through it at your own pace.<br />The tutorials section is free, self-guiding and will not involve any additional support.<br />Visit us at www.dataminingtools.net<br />

×