Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
QuantileRegression
Guides
Quantile regression
Tech Notes
Quantile regression 3D examples
Quantile regression over weather time series
Symbols
NURBSBasis
QuantileEnvelope
QuantileEnvelopeRegion
QuantileRegressionFit
QuantileRegression
Quantile regression 3D examples
N
o
i
s
y
a
r
r
o
w
w
a
v
e
P
y
r
a
m
i
d
b
a
s
i
s
S
q
u
a
r
e
s
o
m
b
r
e
r
o
P
a
r
t
i
a
l
s
o
m
b
r
e
r
o
In this notebook we develop in detail Quantile Regression (QR) examples over 3D data.
Load the Quantile regression paclet
I
n
[
2
5
9
]
:
=
N
e
e
d
s
[
"
A
n
t
o
n
A
n
t
o
n
o
v
`
Q
u
a
n
t
i
l
e
R
e
g
r
e
s
s
i
o
n
`
"
]
Set random seed
I
n
[
2
6
0
]
:
=
S
e
e
d
R
a
n
d
o
m
[
9
9
0
3
]
O
u
t
[
2
6
0
]
=
R
a
n
d
o
m
G
e
n
e
r
a
t
o
r
S
t
a
t
e
M
e
t
h
o
d
:
E
x
t
e
n
d
e
d
C
A
S
t
a
t
e
h
a
s
h
:
4
8
1
7
2
8
1
0
9
9
3
7
9
1
6
8
4
5
5
Define plot function
I
n
[
2
6
1
]
:
=
Q
R
P
l
o
t
[
d
a
t
a
_
L
i
s
t
,
f
u
n
c
s
_
A
s
s
o
c
i
a
t
i
o
n
,
o
p
t
s
_
_
_
]
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8
Quantile regression of probability 0.5
I
n
[
2
7
0
]
:
=
A
b
s
o
l
u
t
e
T
i
m
i
n
g
f
u
n
c
s
=
Q
u
a
n
t
i
l
e
R
e
g
r
e
s
s
i
o
n
F
i
t
[
d
a
t
a
,
T
h
r
o
u
g
h
[
V
a
l
u
e
s
[
b
a
s
i
s
]
[
x
,
y
]
]
,
{
x
,
y
}
,
0
.
5
]
;
O
u
t
[
2
7
0
]
=
{
0
.
3
5
1
3
9
6
,
N
u
l
l
}
Plot the obtained function and data
I
n
[
2
7
1
]
:
=
Q
R
P
l
o
t
[
d
a
t
a
,
0
.
5
F
i
r
s
t
[
f
u
n
c
s
]
]
O
u
t
[
2
7
1
]
=
0
.
5
Quantile regression of probabilities 0.1 and 0.9
I
n
[
2
7
2
]
:
=
p
r
o
b
s
=
{
0
.
1
,
0
.
9
}
;
A
b
s
o
l
u
t
e
T
i
m
i
n
g
f
u
n
c
s
=
A
s
s
o
c
i
a
t
i
o
n
T
h
r
e
a
d
p
r
o
b
s
,
Q
u
a
n
t
i
l
e
R
e
g
r
e
s
s
i
o
n
F
i
t
[
d
a
t
a
,
T
h
r
o
u
g
h
[
V
a
l
u
e
s
[
b
a
s
i
s
]
[
x
,
y
]
]
,
{
x
,
y
}
,
p
r
o
b
s
]
;
O
u
t
[
2
7
3
]
=
{
0
.
6
1
2
9
0
8
,
N
u
l
l
}
3D list plot of the data
I
n
[
2
7
4
]
:
=
Q
R
P
l
o
t
[
d
a
t
a
,
f
u
n
c
s
]
O
u
t
[
2
7
4
]
=
Count the number points under each surface
I
n
[
2
7
5
]
:
=
s
e
p
P
o
i
n
t
s
=
M
a
p
[
F
u
n
c
t
i
o
n
[
{
f
}
,
L
e
n
g
t
h
[
S
e
l
e
c
t
[
d
a
t
a
,
#
〚
-
1
〛
<
(
f
/
.
{
x
#
〚
1
〛
,
y
#
〚
2
〛
}
)
〚
1
〛
&
]
]
]
,
f
u
n
c
s
]
O
u
t
[
2
7
5
]
=
0
.
1
1
1
9
,
0
.
9
1
0
8
0
Show the corresponding fractions (should correspond to the probabilities)
I
n
[
2
7
6
]
:
=
s
e
p
F
r
a
c
t
i
o
n
s
=
N
[
s
e
p
P
o
i
n
t
s
/
L
e
n
g
t
h
[
d
a
t
a
]
]
O
u
t
[
2
7
6
]
=
0
.
1
0
.
0
9
9
1
6
6
7
,
0
.
9
0
.
9
Square sombrero
Generate random, "square sombrero" data
I
n
[
2
7
7
]
:
=
{
b
,
c
}
=
{
-
6
,
6
}
;
d
a
t
a
=
R
a
n
d
o
m
R
e
a
l
[
{
b
,
c
}
,
{
1
2
0
0
,
2
}
]
;
d
a
t
a
=
M
a
p
[
A
p
p
e
n
d
[
#
,
E
x
p
[
-
#
.
#
/
(
c
-
b
)
/
2
]
(
S
i
n
[
A
b
s
[
#
〚
1
〛
]
+
A
b
s
[
#
〚
2
〛
]
]
+
R
a
n
d
o
m
V
a
r
i
a
t
e
[
N
o
r
m
a
l
D
i
s
t
r
i
b
u
t
i
o
n
[
0
,
0
.
2
]
]
)
]
&
,
d
a
t
a
]
;
D
i
m
e
n
s
i
o
n
s
[
d
a
t
a
]
3D list plot of the data
Data summary
NURBS basis
Quantile regression of probability 0.9
Plot functions and data
Pyramid basis
Define a pyramid basis function
Here is a plot of a basis function
Make basis for the sombrero data
Find regression quantiles for probability 0.2
Plot data and regression quantiles together
Partial sombrero
Generate random, "partial sombrero" data
3D list plot of the data
NURBS basis
Regression quantiles
Plot data and regression quantiles together
Create a region object for the convex hull of the data points
The plot data and regression quantiles over the region above
Count the number points under each surface
Show the corresponding fractions (should correspond to the probabilities)