Python Forum
creating new time series based on giving mean, standard deviation and skewness
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
creating new time series based on giving mean, standard deviation and skewness
#1
I have a time series like

ts = [1,50,10,...,600]

I calculate the mean as

mean = 10

standard deviation = 100

skew = 5

I want to increase these parameters and then use it to generate new time series.

How can I do this in python?
Reply
#2
As far as I understood, you want to drop the original sample and generate a new one based on
obtained values of mean, std, skew. These are only three parameters, so it is better
to know (at least) class of allowed distributions; For example, normal distribution is fully determined
by mean and std values. So, if you knew that your data came from normal distribution, it
would be sufficient to just sample from the normal distribution with specific parameters,
e.g. using numpy.random.randn.

Take a look at MCMC approach, it is usually used when needed to approximate a distribution.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help: Conversion of Electricity Data into Time Series Data SmallGuy 3 1,158 Oct-04-2023, 03:31 PM
Last Post: deanhystad
  Time Series Production Process Problem Mzarour 1 2,098 Feb-28-2023, 12:25 PM
Last Post: get2sid
  reduce time series based on sum condition amdi40 0 1,079 Apr-06-2022, 09:09 AM
Last Post: amdi40
  How to accumulate volume of time series amdi40 3 2,259 Feb-15-2022, 02:23 PM
Last Post: amdi40
  Recommendations for ML libraries for time-series forecast AndreasPython 0 1,862 Jan-06-2021, 01:03 PM
Last Post: AndreasPython
  Time Series forecating with multiple independent variables Krychol88 1 1,823 Oct-23-2020, 08:11 AM
Last Post: DPaul
  how to handling time series data file with Python? aupres 4 2,925 Aug-10-2020, 12:40 PM
Last Post: MattKahn13
  Changing Time Series from Start to End of Month illmattic 0 1,827 Jul-16-2020, 10:49 AM
Last Post: illmattic
  HELP- DATA FRAME INTO TIME SERIES- BASIC bntayfur 0 1,733 Jul-11-2020, 09:04 PM
Last Post: bntayfur
  Differencing Time series and Inverse after Training donnertrud 0 4,077 May-27-2020, 06:11 AM
Last Post: donnertrud

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020