Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • 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
    • 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 over weather time series
Load the paclet
In[160]:=
Needs["AntonAntonov`QuantileRegression`"]
Take temperature data
In[161]:=
tsTemp=WeatherData[{"Atlanta","Georgia"},"Temperature",{{2018,1,1},{2023,1,1},"Day"}]
Out[161]=
TimeSeries
Time:
01 Jan 2018
GMT
-4
to
01 Jan 2023
GMT
-4
Data points: 1827

Plot time series points
In[184]:=
opts={ImageSizeLarge,AspectRatio1/2,PlotTheme"Detailed",JoinedFalse};DateListPlot[tsTemp,opts]
Out[184]=
Contents cannot be rendered at this time; please try again later
Data summary
In[177]:=
ResourceFunction["RecordsSummary"][tsTemp["Path"]]
Out[177]=

1 column 1
Min
3.72375×
9
10
1st Qu
3.76317×
9
10
Mean
3.80264×
9
10
Median
3.80264×
9
10
3rd Qu
3.8421×
9
10
Max
3.88152×
9
10
,
2 column 2
23.89
°C
16
24.22
°C
16
12.78
°C
14
22.78
°C
12
25
°C
12
23.33
°C
11
(Other)
1746

Find regression quantiles for 0.1, 0.5, 0.9
In[181]:=
AbsoluteTiming​​qs={0.1,0.5,0.9};​​qFuncs=
QuantileRegression
[QuantityMagnitude[tsTemp["Path"]],16,qs];​​
Out[181]=
{0.97348,Null}
Plot time series points with fitted regression quantiles
In[185]:=
DateListPlot[{tsTemp["Path"],Map[Function[{f},{#,f[#]}&/@tsTemp["Times"]],qFuncs]},opts,Joined{False,True,True,True},PlotLegends{"data",Sequence@@qs}]
Out[185]=
Contents cannot be rendered at this time; please try again later
RelatedGuides
▪
Quantile regression
​
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com