photo

Haris K.


Last seen: 2 mois il y a Actif depuis 2020

Followers: 0   Following: 0

I am an economist and econometrician with over 10 years of experience in playing with scatter plots and the letters of the Greek alphabet (particularly alpha, beta and epsilon). https://ckarag.github.io/

Programming Languages:
Python, MATLAB
Professional Interests:
Time Series Analysis, Macroeconomics

Statistiques

All
  • GitHub Submissions Level 2
  • First Submission
  • Thankful Level 3
  • Solver
  • First Review
  • First Answer

Afficher les badges

Feeds

Afficher par

A soumis


DFGLS for MATLAB
DF-GLS test of Elliott, Rothenberg & Stock (1996), with 3 optimal lag-length selection methods (SIC, MAIC, Sequential-t).

3 mois il y a | 2 téléchargements |

Thumbnail

Question


Error when running function with batch()
Hi. I am using batch() to run a function with a par-for loop inside. When I run it as a script (instead of a function), everythi...

6 mois il y a | 1 réponse | 0

1

réponse

Question


How to make sparsity pattern graph with grouping
Hi. I would like to create a graph looking like the following: The rows correspond to periods (months), and the columns to a...

7 mois il y a | 1 réponse | 1

1

réponse

Réponse apportée
How to run an R function from MATLAB
A couple of things if you are trying to run an R script using system(), that could be helpful to other fellow MATLABians out the...

7 mois il y a | 0

Question


Why between(datetime1, datetime2) is different from (-1)*between(datetime2, datetime1)?
I am trying to measure the number of 'quarters' apart, between a single datetime r, and a vector of datetimes v. Could somebody ...

8 mois il y a | 1 réponse | 0

1

réponse

Question


How to merge new variables and append new rows at the same time (when synchronizing timetables)?
Hi. Below, I have 2 timetables (R1, R2) that I am trying to combine into a single timetable (M). What I am trying to achieve ...

plus d'un an il y a | 2 réponses | 0

2

réponses

A soumis


Interface to easily access FRED® data
Easily download economic data from FRED (Federal Reserve Economic Data), connecting to the FRED server (https://fred.stlouisfed....

environ 2 ans il y a | 3 téléchargements |

Thumbnail

Réponse apportée
Matlab Editor does not respond to keyboard inputs
Same problem here. I am using MATLAB R 2020b. Same issue like everybody else. Shortcuts like Ctrl+C and Ctrl+V work. Selecting...

environ 3 ans il y a | 0

Question


Lag order selection in multivariate time series models using recursive programming
Hi. I am trying to create a recursive function that runs a model comparison procedure and selects the optimal lag order using in...

plus de 3 ans il y a | 1 réponse | 1

0

réponse

Réponse apportée
How to select the desired color of the point in stat_summary('geom',{'point'}) in the Gramm Toolbox?
With a little bit of searching through the created structure, I have found one solution. g.results.stat_summary.point_handle.M...

plus de 3 ans il y a | 1

| A accepté

Question


How to select the desired color of the point in stat_summary('geom',{'point'}) in the Gramm Toolbox?
Hi. I am making a violin plot with a box plot inside, using the Gramm toolbox. I would like to also show the mean, but I do not ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
From index list to logical index vector
I changed the variable names for brevity. function lgc = unfind(idx, N) %Go from indicies into logical (for vectors only) ...

plus de 3 ans il y a | 2

Question


How to include all variables in each decision tree of an ensemble?
Hi everyone. I am fitting the following 10-tree ensemble. X = rand(1000,50); Y = rand(1000,1); N = size(X,2); Ntrees=10; t...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Why the ‘CategoricalPredictors’ properties are always empty after running fitrensemble()?
Hi. I am running a regression tree ensemble, and despite specifying a categorical variable using name-value pair 'CategoricalPre...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Does the fitrtree algorithm treat categorical and continuous variables differently?
After your response, I tried to check with a more complicated example. Assume 1000 obs, 20 continuous features, and 1 categorica...

plus de 3 ans il y a | 1

Réponse apportée
Does the fitrtree algorithm treat categorical and continuous variables differently?
You can see if the two are equivalent using a simple example. The example below shows that Cases 1 & 2 are equivalent. NOTE howe...

plus de 3 ans il y a | 1

Question


How to retrieve optimal MinLeafSize after automatic hyperparameter optimization for Tree Ensemble (fitrensemble)?
Hi. I am running MATLAB's automatic Bayesian optimization for a number of parameters for a Tree Ensemble. opts = struct('Kfold...

presque 4 ans il y a | 1 réponse | 1

1

réponse

Question


Check for optional inputs in a function using exist
Hi everyone. Is it wrong, prone to mistakes, or slower to check the existance of optional arguments in a function using exist()?...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Turn logical matrix into string vector
Btw, here is one solution: arrayfun(@(i) vec(idx(i,:)),1:size(idx,1))' But I was wondering if there is something that does not...

environ 4 ans il y a | 1

Question


Turn logical matrix into string vector
Hi. I have the logical matrix idx and the string array vec. idx = logical([0 1 0; 0 0 1; 1 0 0; 1 0 0; 0 1 0]) vec = ["A","B",...

environ 4 ans il y a | 4 réponses | 0

4

réponses

Question


Create new table variable filled with values from another table
Hi. I have the following tabels, T1 and T2: Name1=["A","B","C","D"]' Des1=["Shoubidou","Abra","Ca","Dabra"]' T1=table(Name1, ...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Change the format of all Datetime variables in a Table
Is there any way to change the format of all the datetime variables in a table? Var1 = datetime({'2015-12-18 08:03:05';'2015-12...

environ 4 ans il y a | 1 réponse | 0

1

réponse

A résolu


Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

environ 4 ans il y a

A résolu


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

environ 4 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 4 ans il y a

Réponse apportée
Appropriate usage of Parallel Pool
Just in case someone finds this comparison helpful. I changed the methods a bit, as I realized that it is not a good practise to...

plus de 4 ans il y a | 1

| A accepté

Question


Appropriate usage of Parallel Pool
Hi. I have two related questions: Question 1: Which of the following 4 is best to use in order to take advantage of my PC's mul...

plus de 4 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
How to change the Fonts in a text section (-not code) in Live Script
Briefly let me recap and post the solution. I copied some text from another document (which as it turns out, had the 'Lucida Con...

plus de 4 ans il y a | 1

| A accepté

Question


How to change the Fonts in a text section (-not code) in Live Script
I copied some text from a '.doc' file and pasted it to the Live Editor (in a live script, i.e. '.mlx' file). As a result, it cop...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Problem in converting datetime to POSIX and then the same POSIX back to datetime
Given that I have specified the time zone in t, could you please explain why the last row will not convert it back to 'XXXX-XX-X...

plus de 4 ans il y a | 1 réponse | 1

1

réponse

Charger plus