[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"navigation":3,"/docs/projections/linear":100,"/docs/projections/linear-surround":211},[4,23,48,68],{"title":5,"path":6,"stem":7,"children":8,"icon":22},"Getting Started","/docs/getting-started","1.docs/1.getting-started/1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Creating an Account","/docs/getting-started/installation","1.docs/1.getting-started/2.installation","i-lucide-user-plus",{"title":18,"path":19,"stem":20,"icon":21},"Quick Start","/docs/getting-started/usage","1.docs/1.getting-started/3.usage","i-lucide-rocket",false,{"title":24,"path":25,"stem":26,"children":27,"page":22},"Data Sources","/docs/data-sources","1.docs/2.data-sources",[28,33,38,43],{"title":29,"path":30,"stem":31,"icon":32},"Manual Data","/docs/data-sources/manual-data","1.docs/2.data-sources/1.manual-data","i-lucide-file-text",{"title":34,"path":35,"stem":36,"icon":37},"API Sources","/docs/data-sources/api-sources","1.docs/2.data-sources/2.api-sources","i-lucide-globe",{"title":39,"path":40,"stem":41,"icon":42},"Managing Sources","/docs/data-sources/managing-sources","1.docs/2.data-sources/3.managing-sources","i-lucide-settings",{"title":44,"path":45,"stem":46,"icon":47},"Inbound API","/docs/data-sources/inbound-api","1.docs/2.data-sources/4.inbound-api","i-lucide-webhook",{"title":49,"path":50,"stem":51,"children":52,"page":22},"Visualization","/docs/visualization","1.docs/3.visualization",[53,58,63],{"title":54,"path":55,"stem":56,"icon":57},"Charts","/docs/visualization/charts","1.docs/3.visualization/1.charts","i-lucide-chart-line",{"title":59,"path":60,"stem":61,"icon":62},"Combined Views","/docs/visualization/combined-views","1.docs/3.visualization/2.combined-views","i-lucide-layers",{"title":64,"path":65,"stem":66,"icon":67},"Correlations","/docs/visualization/correlations","1.docs/3.visualization/3.correlations","i-lucide-git-compare",{"title":69,"path":70,"stem":71,"children":72,"icon":79},"Projections","/docs/projections","1.docs/4.projections/1.index",[73,75,80,85,90,95],{"title":69,"path":70,"stem":71,"icon":74},"i-lucide-chart-spline",{"title":76,"path":77,"stem":78,"icon":79},"Linear trend projection","/docs/projections/linear","1.docs/4.projections/2.linear","i-lucide-trending-up",{"title":81,"path":82,"stem":83,"icon":84},"Moving average projection","/docs/projections/moving-average","1.docs/4.projections/3.moving-average","i-lucide-activity",{"title":86,"path":87,"stem":88,"icon":89},"Exponential smoothing projection","/docs/projections/exponential-smoothing","1.docs/4.projections/4.exponential-smoothing","i-lucide-waves",{"title":91,"path":92,"stem":93,"icon":94},"Logarithmic projection","/docs/projections/logarithmic","1.docs/4.projections/5.logarithmic","i-lucide-log-in",{"title":96,"path":97,"stem":98,"icon":99},"Growth rate (CAGR) projection","/docs/projections/growth-rate","1.docs/4.projections/6.growth-rate","i-lucide-percent",{"id":101,"title":76,"body":102,"description":205,"extension":206,"meta":207,"navigation":208,"path":77,"seo":209,"stem":78,"__hash__":210},"docs/1.docs/4.projections/2.linear.md",{"type":103,"value":104,"toc":198},"minimark",[105,122,127,143,146,150,167,171],[106,107,108,109,113,114,121],"p",{},"The ",[110,111,112],"strong",{},"linear trend"," method fits a straight line through your historical data points using ",[115,116,120],"a",{"href":117,"rel":118},"https://en.wikipedia.org/wiki/Ordinary_least_squares",[119],"nofollow","ordinary least squares (OLS)"," regression, then extends that line into the future.",[123,124,126],"h2",{"id":125},"how-it-works","How it works",[106,128,129,130,134,135,138,139,142],{},"OLS regression finds the line ",[131,132,133],"code",{},"y = mx + b"," that minimises the sum of squared differences between the line and your actual data points. The slope ",[131,136,137],{},"m"," captures how much the value changes per unit of time, and the intercept ",[131,140,141],{},"b"," anchors it to your data's baseline.",[106,144,145],{},"Once the line is fit, TotalKPI projects it forward over the selected duration.",[123,147,149],{"id":148},"when-to-use-it","When to use it",[151,152,153,161,164],"ul",{},[154,155,156,157,160],"li",{},"Your metric has grown (or declined) at a ",[110,158,159],{},"roughly constant rate"," over time.",[154,162,163],{},"You expect the same pace to continue into the near future.",[154,165,166],{},"Examples: monthly revenue with steady growth, a slowly declining churn rate.",[123,168,170],{"id":169},"limitations","Limitations",[151,172,173,180,187],{},[154,174,175,176,179],{},"Assumes growth is strictly ",[110,177,178],{},"linear"," - it will over- or under-estimate when growth is accelerating, decelerating, or cyclical.",[154,181,182,183,186],{},"Sensitive to ",[110,184,185],{},"outliers",": a single anomalous data point can tilt the line noticeably.",[154,188,189,190,193,194,197],{},"Not suited for data with a clear curve - consider ",[115,191,192],{"href":92},"Logarithmic"," or ",[115,195,196],{"href":87},"Exponential smoothing"," instead.",{"title":199,"searchDepth":200,"depth":200,"links":201},"",2,[202,203,204],{"id":125,"depth":200,"text":126},{"id":148,"depth":200,"text":149},{"id":169,"depth":200,"text":170},"Forecast future values by fitting a straight line to your historical data.","md",{},{"icon":79},{"title":76,"description":205},"M5t8Jvl2iZ_AtuyLkKEAPLeti_y9XUJZXdQyb3tBI7Q",[212,214],{"title":69,"path":70,"stem":71,"description":213,"icon":74,"children":-1},"Extend your charts into the future using statistical forecasting methods.",{"title":81,"path":82,"stem":83,"description":215,"icon":84,"children":-1},"Smooth out short-term noise and project the recent trend forward."]