Questions tagged [decomposition]

Decomposition might refer to Time Series Decomposition. Decomposing a time-series into Seasonal and Trend components can be achieved by using several methods, such as STL (which uses a Loess smoothing algorithm).

Prefer using if applicable.


Time series data can exhibit a variety of patterns, and it is often helpful to split a time series into several components, each representing an underlying pattern category.

There are three types of time series patterns: trend, seasonality and cycles. When we decompose a time series into components, we usually combine the trend and cycle into a single trend-cycle component (often just called the trend for simplicity). Thus we can think of a time series as comprising three components: a trend-cycle component, a seasonal component, and a remainder component (containing anything else in the time series). For some time series (e.g., those that are observed at least daily), there can be more than one seasonal component, corresponding to the different seasonal periods.

345 questions
0
votes
0 answers

Decomposition of power consumption using wavelet analysis

I'm doing a project of decomposing the total power consumption signal to identify/ recognize each individual type of appliance being used. I would like to know if wavelet packet decomposition in Matlab be able to do such task. If so, please guide…
user3464608
  • 33
  • 1
  • 6
0
votes
1 answer

Decompose to BCNF

I just need to check if I got 'decomposition' to BCNF properly. I've got R (A, B, C, D, E, F, G) FD's: F -> E,B F -> A C -> D A -> G I found (F,C) as a KEY And after decomposition I've got the following relations: R1 (C,D) R2 (A,G) R3…
Max_S
  • 135
  • 1
  • 1
  • 9
0
votes
2 answers

How to decompose a matrix into a sum of connected components?

I have a matrix of 0's and 1's: 1 0 0 0 0 0 0 1 1 0 a = 0 0 1 1 0 1 0 0 0 0 1 1 0 0 0 and I want to use python to decompose it into a sum of connected components, where by "connected" I mean matrices where each "1"…
astabada
  • 1,029
  • 4
  • 13
  • 26
0
votes
0 answers

Oaxaca decomposition for OLS regression - Is my calculation correct?

I am trying to decompose the gender pay gap with the Blinder-Oaxaca decomposition for OLS regression (two-fold) using: Stata, R, and manual calculation with Excel. All programs give me similar results; however, I believe the results are wrong. The…
Helgi Guðmundsson
  • 736
  • 1
  • 6
  • 18
0
votes
0 answers

Time Series Decomposition on data less than 1 year in R

I know how to use ts in R. However, when I try to do time series analysis in R. However, when I try to do time series analysis on the data whose total length is less than 1 year. It gives me error saying that time series has no or less than 2…
trying
  • 15
  • 1
  • 7
0
votes
1 answer

R - Trend estimation for short time series

I have very short time series of data from a climatic experiment that I did back in 2012. The data consists of daily water solution flux and daily CO2 flux data. The CO2 flux data comprises 52 days and the water solution flux data is only 7 days…
Strohmi
  • 523
  • 5
  • 21
0
votes
1 answer

BCNF decomposition query

I have a relation R(A, B, C, D) with functional dependencies ABC --> D and D --> A. The question was, does this have a BCNF, and the answer was as follows: (c) ABCD is not in BCNF since D --> A and D is not a key. However, if we split up R as AD,…
Ogen
  • 6,499
  • 7
  • 58
  • 124
0
votes
1 answer

Matlab chol function returns single number Choleksy decomposition

I have a matrix A which is 390 by 390 and contains numbers such as: 141270,991258825 -92423,2972762164 -92423,2972762164 60465,8168198016 139998,877391881 -91591,0460330842 30573,0969789307 -20001,7456206658 ... If I try chol(A), Matlab…
farahm
  • 1,326
  • 6
  • 32
  • 70
0
votes
1 answer

ANTLR parser for EBNF grammar and get a decomposition tree with results

I’m trying to make a lexical parser to compute all solutions given a EBNF term. For example: Grammar: T::= nil | A.T | (T+T) | (T*T) A::= a | b | c | d | e Operators: * Exclusive OR . Sequence + Parallel Symbols: a b c d e Example…
ccamacho
  • 707
  • 8
  • 22
0
votes
1 answer

Decomposition to BCNF

While I do understand what the normal forms are, I have trouble working with them. I am following a course in database systems and somehow I am a bit lost on this. I have tried Google, stackoverflow, slides of the course and the book, but examples…
0
votes
1 answer

what does wavelet decomposition structure mean?

running the code: >> load('matlabF.mat') >> f f = 4 6 10 12 8 6 5 5 >> [c,l] = wavedec(f,3,'haar'); >> c c = 19.7990 2.8284 -6.0000 2.0000 -1.4142 -1.4142 1.4142 0 >> l l…
0
votes
1 answer

BCNF decomposition - what am I doing wrong

This is a question from Databases course (now self-study at coursera.org), fall 2011. Consider the following relational schema: R1(A,B,C), R2(B,D) (a) Consider the schema and suppose that the only functional dependencies that hold on the relations…
0
votes
1 answer

Functional Decomposition

Hi I've wrote a program to print out a Diamond for a CS class; I've been asked to use function decomposition (global variables I think?) and I have no idea how to do this; some insight would help me out; my code isn't really pretty; but it does the…
EightSquared
  • 37
  • 2
  • 13
0
votes
2 answers

Complexity of Perl?

What is the general discussion of the complexity of the Perl programming language, like what should one really focus on when discussing its complexity?
ignicious
  • 9
  • 1
0
votes
0 answers

Change MPI topology on the fly

I'm currently working with a program that is written in C with MPI parallelization. The computation grid is divided up using common domain decomposition techniques. The processes layout is as follows with respect to the 2D decomposition…
ThatsRightJack
  • 721
  • 6
  • 29