Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
02 Nov 2009 Scrolling display (price/volume chart) Author: Dimitri Shvorob James

28 Sep 2009 Export data to SAS (via Excel; with SAS/ACCESS and ActiveX Automation Server) Author: Dimitri Shvorob Alessandro

28 Sep 2009 Import data from SAS (via Excel; with SAS/ACCESS and ActiveX Automation Server) Author: Dimitri Shvorob Alessandro

SAS-Mtlab Converter found

05 Sep 2009 Export data to SAS (via Excel; with SAS/ACCESS and ActiveX Automation Server) Author: Dimitri Shvorob Shvorob, Dimitri

Apparently, the two-star ranking stems from Alessandro not finding the XLS file. Does anybody else not see it? Please give me a shout.

05 Sep 2009 Import data from SAS (via Excel; with SAS/ACCESS and ActiveX Automation Server) Author: Dimitri Shvorob Shvorob, Dimitri

Does anybody else not see the spreadsheet? Please give me a shout.

27 Aug 2009 Import data from SAS (via Excel; with SAS/ACCESS and ActiveX Automation Server) Author: Dimitri Shvorob Alessandro

The file SAS-Matlab Converter.xls is not available for download

27 Aug 2009 Export data to SAS (via Excel; with SAS/ACCESS and ActiveX Automation Server) Author: Dimitri Shvorob Alessandro

20 Jul 2009 Evaluate Nelson-Siegel function (or fit one to a yield curve) Author: Dimitri Shvorob schaefer, rishad

Hello,
Great work...
Just a question: Do you know what scilab function ( used with wich parameters) could replace your fminbnd in order to get the fit.
I just can t get the propper algorithm on scilab...

22 May 2009 Queue (A simple implementation) Author: Dimitri Shvorob Tagliasacchi, Andrea

Good choice for object oriented. However, if you want a generic priority queue which don't assume elements to be Matlab objects refer to my submission.

22 May 2009 Queue (A simple implementation) Author: Dimitri Shvorob Tagliasacchi, Andrea

15 May 2009 Queue (A simple implementation) Author: Dimitri Shvorob Tagliasacchi, Andrea

I wish you implemented a fast queue for matlab, not an object oriented one...

13 Jan 2009 Winsorize data (using PRCTILE) Author: Dimitri Shvorob Xing

Thank you! Very helpful.
If it can do winsorize by group that would be better!

15 Dec 2008 Analyze FEX download data (with the aid of MySQL) Author: Dimitri Shvorob Eaton, Kenneth

07 Sep 2008 Merge matrices (in a SQL equijoin) Author: Dimitri Shvorob from AL, Phil

Just what I was looking for. Wonder why MW released a 'join' (kinda) for datasets but not for matrices.

28 Aug 2008 Use a hash table (Java class wrapper) Author: Dimitri Shvorob Shvorob, Dimitri

.. To elaborate that last sentence. Scalars and strings are fine; numeric and cell arrays are fine (except for row vectors, which get transposed), structures are no-go, and neither are objects. Clearly, this is not a 100% satisfactory solution.

14 Aug 2008 Find repeated m-file names (in a directory tree) Author: Dimitri Shvorob Shvorob, Dimitri

Not sure what happened; seems to work fine on my side.

13 Aug 2008 Find repeated m-file names (in a directory tree) Author: Dimitri Shvorob liudaohai, liudaohai

??? Too many inputs.

Error in ==> namesakes at 17
m = cellfun(@moniker,f,'UniformOutput',false);

24 Jul 2008 Find 'orphaned' m-files (in a directory tree) Author: Dimitri Shvorob Shvorob, Dimitri

.. The file shows up as empty; I am going to re-submit it now.

21 Jul 2008 Evaluate Nelson-Siegel function (or fit one to a yield curve) Author: Dimitri Shvorob Juambeltz, Antonio

I expect this is a very interesting point for us in the Ministry of Finance in Uruguay.

05 Jun 2008 Simulate a Hawkes process (and visualize it) Author: Dimitri Shvorob Brice;o, Antonio

Hello. Thanks for your code, is very usefull, because I have the need to create synthetic data for work with optimzation. Have you ever been working in the optimization?

30 May 2008 Plot a 'grouped' univariate histogram (Subsample histograms, stacked) Author: Dimitri Shvorob A, Adam

Very useful. Would be nice if the group vector was allowed to be a cell, like gscatter etc.

10 May 2008 Extract text from a PDF document (if you are lucky) Author: Dimitri Shvorob Koval, Zach

I am lucky, I guess. Worked ok, except the warning that Dimitri mentions.

05 May 2008 Extract text from a PDF document (if you are lucky) Author: Dimitri Shvorob Shvorob, Dimitri

See also this submission:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=17839&objectType=file

10 Mar 2008 A non-engineer tinkers with Simulink (and has got models to prove it! :)) Author: Dimitri Shvorob Ahmad, Engineer

Keep up the good work, non-engineer :)

30 Jan 2008 Visualize dynamic hedging (via an interactive GUI) Author: Dimitri Shvorob Shvorob, Dimitri

Ouch :( Thank you for the report, Olivier, I'll look into this. The singularity warning, however, may be legitimate: we find the quantities by solving Aq = b, where A packs prices and deltas, and A can have short rank.

30 Jan 2008 Visualize dynamic hedging (via an interactive GUI) Author: Dimitri Shvorob B., Olivier

Hi,
I got an error when pressing Go, after having generated the time series :
"
??? Index exceeds matrix dimensions.

Error in ==> hedgedemo>changeHedgeAssetSeries/changeHedgeValueSeries at 411
        tradeValue = tradeQuant.*aPrice(3:4,:);

Error in ==> hedgedemo>changeHedgeAssetSeries at 370
    changeHedgeValueSeries

Error in ==> hedgedemo>fillFrame41/addFreqPanel/constructHedge at 184
            changeHedgeAssetSeries

??? Error while evaluating uicontrol Callback
"

and sometimes
"
Warning: Matrix is singular, close to singular or badly scaled.
         Results may be inaccurate. RCOND = NaN.
> In hedgedemo>changeHedgeAssetSeries/changeHedgeQuantSeries at 379
  In hedgedemo>changeHedgeAssetSeries at 369
  In hedgedemo>fillFrame41/addFreqPanel/constructHedge at 184
??? Index exceeds matrix dimensions.
"

It does that, even when using inputs displayed on the jpg example.
Do you have an idea ?

29 Jan 2008 Evaluate Nelson-Siegel function (or fit one to a yield curve) Author: Dimitri Shvorob Han, Wu-Fu

01 Jan 2008 Evaluate Nelson-Siegel function (or fit one to a yield curve) Author: Dimitri Shvorob Shvorob, Dimitri

Note NELSONFIT's default (and easy-to-change) behavior of searching for tau in (0,10) and adjust the range if measuring time in days or months. (The Nelson-Sielgel function is homogeneous of degree 0 in x/tau).

12 Dec 2007 Generate a Van der Corput sequence (perhaps while learning QMC) Author: Dimitri Shvorob Krook, Ryan

The function works well, generated 100 000 values in well under 1 sec. Leap frogging would be a nice feature, but it's not difficult to add yourself.

10 Dec 2007 Generate a Van der Corput sequence (perhaps while learning QMC) Author: Dimitri Shvorob 1984, Panick

02 Nov 2007 Generate a Van der Corput sequence (perhaps while learning QMC) Author: Dimitri Shvorob @DC, Todd

Van der Corput sequence generator from Vanderbilt? ;)

17 Oct 2007 Visualize sparsity pattern (SPY in style) Author: Dimitri Shvorob (us) Schwarz, Urs

altogether a very nice, professional demo script showing various ways to visualize a sparse matrix including some nice tricks for the newcomer on how to create spiffy figures and a prototypical macro for a quick axis setup.
unfortunately, the author HAS to use a construct that includes a call to EVAL, which is solely due to the fact that TMW (after MANY years of asking for) has not yet had the time to implement the SET(handle,...) command with a return argument in all cases... otherwise, the community could finally use a function handle of this kind:

fh=@(varargin) {
set(gca,'xtick',varargin{1}) % NOT POSSIBLE!
xlabel(varargin{2}) % OK
title(varargin{3}) % OK
};

us

17 Oct 2007 Visualize sparsity pattern (SPY in style) Author: Dimitri Shvorob Shvorob, Dimitri

Thank you for suggestion, Urs! I settled for 'eval' because I couldn't see how to also inlne the label assignments and 'set(gcf..'.

16 Oct 2007 Visualize sparsity pattern (SPY in style) Author: Dimitri Shvorob (us) Schwarz, Urs

just a thought:

the eval(touchup) is a bit cumbersome (especially in view of your well documented ML skills...); why not use a construct like this

% only two prop/val are shown
% for brevity...
tf=@() set(gca,'xtick',1:k,'xlim',xlim);
% and use it
tf();

us

16 Oct 2007 Mean-variance portfolio optimization using GA and PATTERNSEARCH (A not-too-serious experiment / code sample) Author: Dimitri Shvorob Shvorob, Dimitri

Thanks, Marcelo! First, my apologies for the 'close all'; I ran the file in cell mode, where figures, though closed, remain in the HTML report. On GA, I have to confess, I myself would like to understand if there is an a priori reason for the underperformance. (I had had an uneducated notion of GA being suitable for combinatorial/sequencing tasks, but Mathworks' Rastrigin-function example gave me high hopes). For this problem, of course, any optimizer is unnecessary - just Google and code up the optimal-portfolio formula - but I will be extending the exercise with something more complicated ;)

15 Oct 2007 Mean-variance portfolio optimization using GA and PATTERNSEARCH (A not-too-serious experiment / code sample) Author: Dimitri Shvorob Perlin, Marcelo

This is pretty neat Dimitri. Specially for teaching (that's probably will you did it).

But I have a question.
From the output, it seems to me that GA is performing worst than direct optimization, is that right ?
This sound intuitive because port optimization is a pretty simple mathematical problem and it seems to me that GA doesn't really fit the problem.

Anyway, just with direct opt, still a great submission.

Another thing, please delete the 'close all' in the end. I wanted to see the plots, not close them.

And yes, I also found the picture pretty cool :)

01 Oct 2007 Simulate a Cox-Ingersoll-Ross process (Exact algorithm) Author: Dimitri Shvorob Shvorob, Dimitri

(Typo in the CIR specification spotted and will be corrected shortly)

26 Sep 2007 Evaluate debt instrument's cash flows (given their symbolic definition) Author: Dimitri Shvorob Shvorob, Dimitri

.. In the event, I decided to spin off MBS stuff (albeit not including an IO/PO example) into a separate submission. Please see CFEVALDEMO2 at http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=16570&objectType=FILE

20 Aug 2007 The Twain Shall Meet: Facilitating Data Exchange between SAS and Matlab (via MySQL) Author: Dimitri Shvorob Jiang, Brandon

The technique introduced in this paper is a very convenient way to exchange file between matlab and SAS. I really love it

07 Aug 2007 Export data to SAS (via Excel; with SAS/ACCESS and ActiveX Automation Server) Author: Dimitri Shvorob Shvorob, Dimitri

Erratum: 'sasfile and xlsfile must provide absolute file paths; file extensions may NOT be omitted'.

21 Jun 2007 Generate a Faure sequence (perhaps while learning QMC) Author: Dimitri Shvorob Shvorob, Dimitri

Disclaimer: the implementation is inefficient (forgoing the opportunity to vectorize some calculations, or exploit the recursive nature of generator matrices, for example), solely for the sake of greater transparency.

12 Jun 2007 Evaluate debt instrument's cash flows (given their symbolic definition) Author: Dimitri Shvorob Shvorob, Dimitri

Actually, yes; probably some very simple IO/PO valuation stuff.

10 Jun 2007 Evaluate debt instrument's cash flows (given their symbolic definition) Author: Dimitri Shvorob n/a, Anton

Any chance of adding an MBS example?

23 Apr 2007 Winsorize data (using PRCTILE) Author: Dimitri Shvorob D'Errico, John

A simple tool, but it has everything that any good code should. Good help, an example, an H1 line, complete error checks, it is vectorized, etc.

20 Apr 2007 Bootstrap a statistic in a grouped sample (Extension of BOOTSTRP) Author: Dimitri Shvorob Shvorob, Dimitri

The function will be shortly updated, for consistency with BSTRAP (http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=14664&objectType=FILE)

20 Apr 2007 Bootstrap prediction error rate (Application of BSTRAP) Author: Dimitri Shvorob Shvorob, Dimitri

Link to BSTRAP: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=14664&objectType=FILE

12 Apr 2007 Bootstrap a statistic in a grouped sample (Extension of BOOTSTRP) Author: Dimitri Shvorob Mba, Emmanuel Ikechukwu

They are wonderful

10 Apr 2007 Bootstrap a statistic in a grouped sample (Extension of BOOTSTRP) Author: Dimitri Shvorob Shvorob, Dimitri

Bug fix: line 122 should read
res = nan(n1,n2,b+1);
('n' replaced with 'b')

05 Dec 2006 The Twain Shall Meet: Facilitating Data Exchange between SAS and Matlab (via MySQL) Author: Dimitri Shvorob Zha, W

10 Oct 2006 A Powerful Sidekick: Using MySQL for High-Volume Data Manipulation in Matlab (How MySQL can benefit a Matlab user) Author: Dimitri Shvorob Greer, Steve

Thanks a lot!

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com