Community Profile

photo

DoVile Last Name:


aarhus university

Attivo dal 2012

Econ student
Professional Interests: Econometrics

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


how to mex this recursion
I am running a large program and a small function is taking up all the computing time, I havent been able to use the automatic c...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


retrieving data from structure
I am having a weird issue when trying to get data from a structure. I am using dir to get folder names into the variable Fold...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


How to get GARCH parameters into a vector
My question is fairly simply but i havent been able to find a solultion, how do i automatically save my GARCH model parameter es...

quasi 11 anni fa | 1 risposta | 0

1

risposta

Risposto
Finding durations between 1's in a matrix
In the end i decided on just using a double for loop with an if statement, if anyone comes up with something elegant that would ...

circa 11 anni fa | 0

| accettato

Domanda


Finding durations between 1's in a matrix
I am creating a matrix of ones I = binornd(1,a,T(j),n); What i need to find next is the durations between the 1 values f...

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Datafeed problem - yahoo finance cant find stock ?
I am trying to get data on a bunch of danish stocks, fx. the Ap Moeller Maersk B stock. I am using the code C = yahoo; ...

circa 11 anni fa | 1 risposta | 0

1

risposta

Risposto
Mex: compiler not found problem
I download SDK from http://www.microsoft.com/en-us/download/details.aspx?id=8279 and start the install after downloading t...

circa 11 anni fa | 0

Domanda


Mex: compiler not found problem
I am messing around trying to learn how to call c++ code form matlab, specifically i am trying the code following this <http://w...

circa 11 anni fa | 5 risposte | 0

5

risposte

Domanda


using textscan to load numbers from txt file
I am using textscan tmp = textscan(fid,'%4f %q %f %f %f %f %f %f %f %f','treatAsEmpty', 'n/a'); to load data which look...

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


textscan not working with double quotation marks
I am using textscan to read a .txt file into matlab but i am having some troubles. The data looks like (first two lines) ...

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


from cell array to numeric vector
I have a 1x52 length cell array of years stored in MWDIData_years, i need to get these to be a nummeric vector. I am trying some...

oltre 11 anni fa | 2 risposte | 1

2

risposte

Domanda


How can i create a standard matlab template for new programs
I like to have the same layout of my code every time i create a new program, at the moment i just copy and paste an .m file. But...

oltre 11 anni fa | 2 risposte | 1

2

risposte

Domanda


Help vectorising for loop for kernel density
I am having a devil of a time figuring out how to vectorise the following for loopp dens = NaN(length(y),1); for i=1:l...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


What would you add to my Matlab cheat sheet ?
I am an econ/math masters student, but any suggestions are welcome I would prefer keeping the sheet on 1 page though. * ...

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


Error using quad for nummerical integration
I am unable to understand why i cant use the quad function for nummerical integration.. tk = 1.5; Assymptotisk=@(x) sqr...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risposto
fmincon, how does interior point restrict parameters
Thank you

oltre 11 anni fa | 0

Domanda


fmincon, how does interior point restrict parameters
I used my own restriction transformation inside the function to allow fmincon to searh globally. However i ran into nummerical t...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Efficient allocation of random numbers(U(0,1)) into categories
I am trying to create a function which takes two arguments as input, one a vector of values drawn from a uniform distribution an...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Nicer output from simulations
I am taking a Monte-Carlo course and so i have some output, the homework is all done but i would like to make the end product a ...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Interior point maximization on non-smooth surface
I am estimating a state-space model using maximum likelihood, and i am also doing simulations. For the actual maximisation part ...

oltre 11 anni fa | 0 risposte | 0

0

risposte

Risposto
How do i get nice .eps images into latex
Turns out all i needed to do was to go from tex->ps->pdf rather than tex->DVI->pdf Thanks for answers though guys! :)

oltre 11 anni fa | 0

| accettato

Domanda


How do i get nice .eps images into latex
I of course know how to print a plotted image into a .eps file using file>SaveAs, however when i actually create the .pdf file i...

oltre 11 anni fa | 4 risposte | 0

4

risposte

Risposto
adding year to plot using datetick
Thank you for your answer, it is the second case that is relevant. My data consists of 3081 observations, having loaded the year...

oltre 11 anni fa | 0

| accettato

Domanda


adding year to plot using datetick
I have created a plot for a volatility measure, now i want to add the years of the measure to the x axis. I have the appropriate...

oltre 11 anni fa | 2 risposte | 0

2

risposte