http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087
MATLAB Central Newsreader  Log CDF and PDF
Feed for thread: Log CDF and PDF
enus
©19942014 by MathWorks, Inc.
webmaster@mathworks.com
MATLAB Central Newsreader
http://blogs.law.harvard.edu/tech/rss
60
MathWorks
http://www.mathworks.com/images/membrane_icon.gif

Mon, 20 May 2013 09:21:07 +0000
Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904663
Ilco Petrov
Dear friends,<br>
%I have defined some log regression with follolwing CDF:<br>
p=[0.001,0.01:0.01:1];<br>
b1=0.01;<br>
b2=0.5;<br>
m=2;<br>
bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
plot(p,bci2100)<br>
% 0<p,bci, b12<=1<br>
<br>
How can I define in Matlab:<br>
 PDF for bci with a.m. dicrete'p' sequence;<br>
 CDF and PDF for bci as continiuos function;<br>
 generate random numbers for 'p' (say sets of 50, 100, 200 for 'p') in (0:1)<br>
 generate a detailed descriptive statistics report real or random 'bci'(similar to Excel and including mean, median, mode, stnandard deviation, sigma, standard mistakes, tststistics, hypothesis evaluation,) ; also relative and live reliblility<br>
 Compare 'bci' to a normal distribution and model 'bci' parmeters (b,m) to influence Mu and sigma (location and scale parameters) so than bci to be comparable to a normal distribution.<br>
<br>
Please send comments to my email. <br>
Best regards<br>
Ilian Petrov

Mon, 20 May 2013 10:10:14 +0000
Re: Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904664
TideMan
On Monday, May 20, 2013 9:21:07 PM UTC+12, Ilco Petrov wrote:<br>
> Dear friends,<br>
> <br>
> %I have defined some log regression with follolwing CDF:<br>
> <br>
> p=[0.001,0.01:0.01:1];<br>
> <br>
> b1=0.01;<br>
> <br>
> b2=0.5;<br>
> <br>
> m=2;<br>
> <br>
> bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
> <br>
> plot(p,bci2100)<br>
> <br>
> % 0<p,bci, b12<=1<br>
> <br>
> <br>
> <br>
> How can I define in Matlab:<br>
> <br>
>  PDF for bci with a.m. dicrete'p' sequence;<br>
> <br>
>  CDF and PDF for bci as continiuos function;<br>
> <br>
>  generate random numbers for 'p' (say sets of 50, 100, 200 for 'p') in (0:1)<br>
> <br>
>  generate a detailed descriptive statistics report real or random 'bci'(similar to Excel and including mean, median, mode, stnandard deviation, sigma, standard mistakes, tststistics, hypothesis evaluation,) ; also relative and live reliblility<br>
> <br>
>  Compare 'bci' to a normal distribution and model 'bci' parmeters (b,m) to influence Mu and sigma (location and scale parameters) so than bci to be comparable to a normal distribution.<br>
> <br>
> <br>
> <br>
> Please send comments to my email. <br>
> <br>
> Best regards<br>
> <br>
> Ilian Petrov<br>
<br>
It's a homework assignment, isn't it?<br>
What have you done towards solving the problem?<br>
Show us your code and where you're having trouble, then someone might help.<br>
Or would you prefer us to just give you the code? <br>
Then you could claim our work as your own.<br>
The English word for people who do that is: CHEAT.

Mon, 20 May 2013 12:06:09 +0000
Re: Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904666
Ilco Petrov
TideMan <mulgor@gmail.com> wrote in message <14d2505136d7445893c83f3b844dc1b4@googlegroups.com>...<br>
> On Monday, May 20, 2013 9:21:07 PM UTC+12, Ilco Petrov wrote:<br>
> > Dear friends,<br>
> > <br>
> > %I have defined some log regression with follolwing CDF:<br>
> > <br>
> > p=[0.001,0.01:0.01:1];<br>
> > <br>
> > b1=0.01;<br>
> > <br>
> > b2=0.5;<br>
> > <br>
> > m=2;<br>
> > <br>
> > bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
> > <br>
> > plot(p,bci2100)<br>
> > <br>
> > % 0<p,bci, b12<=1<br>
> > <br>
> > <br>
> > <br>
> > How can I define in Matlab:<br>
> > <br>
> >  PDF for bci with a.m. dicrete'p' sequence;<br>
> > <br>
> >  CDF and PDF for bci as continiuos function;<br>
> > <br>
> >  generate random numbers for 'p' (say sets of 50, 100, 200 for 'p') in (0:1)<br>
> > <br>
> >  generate a detailed descriptive statistics report real or random 'bci'(similar to Excel and including mean, median, mode, stnandard deviation, sigma, standard mistakes, tststistics, hypothesis evaluation,) ; also relative and live reliblility<br>
> > <br>
> >  Compare 'bci' to a normal distribution and model 'bci' parmeters (b,m) to influence Mu and sigma (location and scale parameters) so than bci to be comparable to a normal distribution.<br>
> > <br>
> > <br>
> > <br>
> > Please send comments to my email. <br>
> > <br>
> > Best regards<br>
> > <br>
> > Ilian Petrov<br>
> <br>
> It's a homework assignment, isn't it?<br>
> What have you done towards solving the problem?<br>
> Show us your code and where you're having trouble, then someone might help.<br>
> Or would you prefer us to just give you the code?<br>
> Then you could claim our work as your own.<br>
> The English word for people who do that is: CHEAT.<br>
<br>
<br>
Dear Sir (Mr TiedMan),<br>
Thanks for being very quick, kind and polite in your own way!<br>
I have all thinks in in Excel, where I did not have any problem! My publication is already published in a top oil and gas magazine! <br>
Sorry, I am new to Matlab, as I started to copy my project to another package since it will be a long project and it is better to recheck resullts. And to see if Matlab is better as product and service support. So far the second is not obvious at all, but I guess you are not a typical case, rather an... <br>
It is not at all student homewok as I am a phd from Bulgaria (EU) based here in Moscow, where there are not much publications for Matlab, in Bulgaria also.<br>
My colleages here in Moscow are very kind and the Matlab community is very supportive and cooperative. But they work on technical aspects, while my project is in economics and there is no expertise in logistics distributions. The point is that my aproach to the log regression is specific and does not fit with typical ways of expression and formula. <br>
The questions I asked are routine  I am not asking you a code for a modelq Or some top secret data or individual algorithm.<br>
If you have some publications and similar scrip, please simple advise  do not insult me!<br>
I looked in your Distribution fitting tool, but there I can not load my formula, just data  I do not need that.<br>
I already sent you my code for the bci, which is actually not 'vanila' log regression, but have some elements of neuron network even at this level.<br>
<br>
If you do not have experience in log regressions, better do not be that agressive  you are talking to real persons and clients. The questions I asked are routine  I am not asking you a code for a model  just simple thinksabout simple technical instruments. And Matlab is not a unique progarm. You are not unique, also.<br>
As far as I understand your job is to help people, not to insult them hiding behind the virtulal curtain and thinking you are untuchable. Giving technical saaistance is not giving godness<br>
My self, I am a lawyer, also.<br>
So, kindly I ask you to the the following:<br>
 to make an official excuse to me personally to me and all readers for your impertinent expression, as this blog is public, but not yours and you are not at home. You are paid, I assume, to help custummers, not to insult them.<br>
 to pass my questions to somebody who is more polite and cooperative and our corespondence to your boss for opinion and comment. <br>
Only an excuse will stop me develop a legal case in due time.<br>
<br>
Expecting immediate excuse from you and/or your boss.<br>
Ilian Petrov

Mon, 20 May 2013 12:48:08 +0000
Re: Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904667
Ilco Petrov
TideMan <mulgor@gmail.com> wrote in message <14d2505136d7445893c83f3b844dc1b4@googlegroups.com>...<br>
> On Monday, May 20, 2013 9:21:07 PM UTC+12, Ilco Petrov wrote:<br>
> > Dear friends,<br>
> > <br>
> > %I have defined some log regression with follolwing CDF:<br>
> > <br>
> > p=[0.001,0.01:0.01:1];<br>
> > <br>
> > b1=0.01;<br>
> > <br>
> > b2=0.5;<br>
> > <br>
> > m=2;<br>
> > <br>
> > bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
> > <br>
> > plot(p,bci2100)<br>
> > <br>
> > % 0<p,bci, b12<=1<br>
> > <br>
> > <br>
> > <br>
> > How can I define in Matlab:<br>
> > <br>
> >  PDF for bci with a.m. dicrete'p' sequence;<br>
> > <br>
> >  CDF and PDF for bci as continiuos function;<br>
> > <br>
> >  generate random numbers for 'p' (say sets of 50, 100, 200 for 'p') in (0:1)<br>
> > <br>
> >  generate a detailed descriptive statistics report real or random 'bci'(similar to Excel and including mean, median, mode, stnandard deviation, sigma, standard mistakes, tststistics, hypothesis evaluation,) ; also relative and live reliblility<br>
> > <br>
> >  Compare 'bci' to a normal distribution and model 'bci' parmeters (b,m) to influence Mu and sigma (location and scale parameters) so than bci to be comparable to a normal distribution.<br>
> > <br>
> > <br>
> > <br>
> > Please send comments to my email. <br>
> > <br>
> > Best regards<br>
> > <br>
> > Ilian Petrov<br>
> <br>
> It's a homework assignment, isn't it?<br>
> What have you done towards solving the problem?<br>
> Show us your code and where you're having trouble, then someone might help.<br>
> Or would you prefer us to just give you the code?<br>
> Then you could claim our work as your own.<br>
> The English word for people who do that is: CHEAT.<br>
<br>
<br>
Dear Sir (Mr TiedMan),<br>
Thanks for being very quick, kind and polite in your own way!<br>
I have all thinks in in Excel, where I did not have any problem! My publication is already published in a top oil and gas magazine! <br>
Sorry, I am new to Matlab, as I started to copy my project to another package since it will be a long project and it is better to recheck resullts. And to see if Matlab is better as product and service support. So far the second is not obvious at all, but I guess you are not a typical case, rather an... <br>
It is not at all student homewok as I am a phd from Bulgaria (EU) based here in Moscow, where there are not much publications for Matlab, in Bulgaria also.<br>
My colleages here in Moscow are very kind and the Matlab community is very supportive and cooperative. But they work on technical aspects, while my project is in economics and there is no expertise in logistics distributions. The point is that my aproach to the log regression is specific and does not fit with typical ways of expression and formula. <br>
The questions I asked are routine  I am not asking you a code for a modelq Or some top secret data or individual algorithm.<br>
If you have some publications and similar scrip, please simple advise  do not insult me!<br>
I looked in your Distribution fitting tool, but there I can not load my formula, just data  I do not need that.<br>
I already sent you my code for the bci, which is actually not 'vanila' log regression, but have some elements of neuron network even at this level.<br>
<br>
If you do not have experience in log regressions, better do not be that agressive  you are talking to real persons and clients. The questions I asked are routine  I am not asking you a code for a model  just simple thinksabout simple technical instruments. And Matlab is not a unique progarm. You are not unique, also.<br>
As far as I understand your job is to help people, not to insult them hiding behind the virtulal curtain and thinking you are untuchable. Giving technical saaistance is not giving godness<br>
My self, I am a lawyer, also.<br>
So, kindly I ask you to the the following:<br>
 to make an official excuse to me personally to me and all readers for your impertinent expression, as this blog is public, but not yours and you are not at home. You are paid, I assume, to help custummers, not to insult them.<br>
 to pass my questions to somebody who is more polite and cooperative and our corespondence to your boss for opinion and comment. <br>
Only an excuse will stop me develop a legal case in due time.<br>
<br>
Expecting immediate excuse from you and/or your boss.<br>
Ilian Petrov

Mon, 20 May 2013 15:15:09 +0000
Re: Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904679
Bjorn Gustavsson
"Ilco Petrov" <ili191@mail.ru> wrote in message <knd3jh$cm$1@newscl01ah.mathworks.com>...<br>
> TideMan <mulgor@gmail.com> wrote in message <14d2505136d7445893c83f3b844dc1b4@googlegroups.com>...<br>
> > On Monday, May 20, 2013 9:21:07 PM UTC+12, Ilco Petrov wrote:<br>
> > > Dear friends,<br>
> > > <br>
> > > %I have defined some log regression with follolwing CDF:<br>
> > > <br>
> > > p=[0.001,0.01:0.01:1];<br>
> > > <br>
> > > b1=0.01;<br>
> > > <br>
> > > b2=0.5;<br>
> > > <br>
> > > m=2;<br>
> > > <br>
> > > bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
> > > <br>
> > > plot(p,bci2100)<br>
> > > <br>
> > > % 0<p,bci, b12<=1<br>
> > > <br>
> > > <br>
> > > <br>
> > > How can I define in Matlab:<br>
> > > <br>
> > >  PDF for bci with a.m. dicrete'p' sequence;<br>
> > > <br>
> > >  CDF and PDF for bci as continiuos function;<br>
> > > <br>
> > >  generate random numbers for 'p' (say sets of 50, 100, 200 for 'p') in (0:1)<br>
> > > <br>
> > >  generate a detailed descriptive statistics report real or random 'bci'(similar to Excel and including mean, median, mode, stnandard deviation, sigma, standard mistakes, tststistics, hypothesis evaluation,) ; also relative and live reliblility<br>
> > > <br>
> > >  Compare 'bci' to a normal distribution and model 'bci' parmeters (b,m) to influence Mu and sigma (location and scale parameters) so than bci to be comparable to a normal distribution.<br>
> > > <br>
> > > <br>
> > > <br>
> > > Please send comments to my email. <br>
> > > <br>
> > > Best regards<br>
> > > <br>
> > > Ilian Petrov<br>
> > <br>
> > It's a homework assignment, isn't it?<br>
> > What have you done towards solving the problem?<br>
> > Show us your code and where you're having trouble, then someone might help.<br>
> > Or would you prefer us to just give you the code?<br>
> > Then you could claim our work as your own.<br>
> > The English word for people who do that is: CHEAT.<br>
> <br>
> <br>
> Dear Sir (Mr TiedMan),<br>
> Thanks for being very quick, kind and polite in your own way!<br>
> I have all thinks in in Excel, where I did not have any problem! My publication is already published in a top oil and gas magazine! <br>
> Sorry, I am new to Matlab, as I started to copy my project to another package since it will be a long project and it is better to recheck resullts. And to see if Matlab is better as product and service support. So far the second is not obvious at all, but I guess you are not a typical case, rather an... <br>
> It is not at all student homewok as I am a phd from Bulgaria (EU) based here in Moscow, where there are not much publications for Matlab, in Bulgaria also.<br>
> My colleages here in Moscow are very kind and the Matlab community is very supportive and cooperative. But they work on technical aspects, while my project is in economics and there is no expertise in logistics distributions. The point is that my aproach to the log regression is specific and does not fit with typical ways of expression and formula. <br>
> The questions I asked are routine  I am not asking you a code for a modelq Or some top secret data or individual algorithm.<br>
> If you have some publications and similar scrip, please simple advise  do not insult me!<br>
> I looked in your Distribution fitting tool, but there I can not load my formula, just data  I do not need that.<br>
> I already sent you my code for the bci, which is actually not 'vanila' log regression, but have some elements of neuron network even at this level.<br>
> <br>
> If you do not have experience in log regressions, better do not be that agressive  you are talking to real persons and clients. The questions I asked are routine  I am not asking you a code for a model  just simple thinksabout simple technical instruments. And Matlab is not a unique progarm. You are not unique, also.<br>
> As far as I understand your job is to help people, not to insult them hiding behind the virtulal curtain and thinking you are untuchable. Giving technical saaistance is not giving godness<br>
> My self, I am a lawyer, also.<br>
><br>
Let us just cut this nonsense short right here. This is a internet newsgroup with voluntary contributions from randomly distributed (geographically, professionally and so on) people, who might be working with technical assistance  but the customer assistance from people working for Mathworks is not through this channel. If IIRC Tideman works in oceanography, but that might be a complete misunderstanding of mine. There are a fair number of homework type messages requesting solutions to this newsgroup and your message had the same look to it. As a lawyer you should have the schooling to learn what the rules of the forum you venture in are, shouldn't you? Had you done that you would have made your message clearly stated in such a way that it was obvious for everyone that it was not a homework...<br>
<br>
<br>
HTH

Mon, 20 May 2013 18:38:08 +0000
Re: Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904685
Ilco Petrov
"Bjorn Gustavsson" <bjonr@irf.se> wrote in message <kndelt$928$1@newscl01ah.mathworks.com>...<br>
> "Ilco Petrov" <ili191@mail.ru> wrote in message <knd3jh$cm$1@newscl01ah.mathworks.com>...<br>
> > TideMan <mulgor@gmail.com> wrote in message <14d2505136d7445893c83f3b844dc1b4@googlegroups.com>...<br>
> > > On Monday, May 20, 2013 9:21:07 PM UTC+12, Ilco Petrov wrote:<br>
> > > > Dear friends,<br>
> > > > <br>
> > > > %I have defined some log regression with follolwing CDF:<br>
> > > > <br>
> > > > p=[0.001,0.01:0.01:1];<br>
> > > > <br>
> > > > b1=0.01;<br>
> > > > <br>
> > > > b2=0.5;<br>
> > > > <br>
> > > > m=2;<br>
> > > > <br>
> > > > bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
> > > > <br>
> > > > plot(p,bci2100)<br>
> > > > <br>
> > > > % 0<p,bci, b12<=1<br>
> > > > <br>
> > > > <br>
> > > > <br>
> > > > How can I define in Matlab:<br>
> > > > <br>
> > > >  PDF for bci with a.m. dicrete'p' sequence;<br>
> > > > <br>
> > > >  CDF and PDF for bci as continiuos function;<br>
> > > > <br>
> > > >  generate random numbers for 'p' (say sets of 50, 100, 200 for 'p') in (0:1)<br>
> > > > <br>
> > > >  generate a detailed descriptive statistics report real or random 'bci'(similar to Excel and including mean, median, mode, stnandard deviation, sigma, standard mistakes, tststistics, hypothesis evaluation,) ; also relative and live reliblility<br>
> > > > <br>
> > > >  Compare 'bci' to a normal distribution and model 'bci' parmeters (b,m) to influence Mu and sigma (location and scale parameters) so than bci to be comparable to a normal distribution.<br>
> > > > <br>
> > > > <br>
> > > > <br>
> > > > Please send comments to my email. <br>
> > > > <br>
> > > > Best regards<br>
> > > > <br>
> > > > Ilian Petrov<br>
> > > <br>
> > > It's a homework assignment, isn't it?<br>
> > > What have you done towards solving the problem?<br>
> > > Show us your code and where you're having trouble, then someone might help.<br>
> > > Or would you prefer us to just give you the code?<br>
> > > Then you could claim our work as your own.<br>
> > > The English word for people who do that is: CHEAT.<br>
> > <br>
> > <br>
> > Dear Sir (Mr TiedMan),<br>
> > Thanks for being very quick, kind and polite in your own way!<br>
> > I have all thinks in in Excel, where I did not have any problem! My publication is already published in a top oil and gas magazine! <br>
> > Sorry, I am new to Matlab, as I started to copy my project to another package since it will be a long project and it is better to recheck resullts. And to see if Matlab is better as product and service support. So far the second is not obvious at all, but I guess you are not a typical case, rather an... <br>
> > It is not at all student homewok as I am a phd from Bulgaria (EU) based here in Moscow, where there are not much publications for Matlab, in Bulgaria also.<br>
> > My colleages here in Moscow are very kind and the Matlab community is very supportive and cooperative. But they work on technical aspects, while my project is in economics and there is no expertise in logistics distributions. The point is that my aproach to the log regression is specific and does not fit with typical ways of expression and formula. <br>
> > The questions I asked are routine  I am not asking you a code for a modelq Or some top secret data or individual algorithm.<br>
> > If you have some publications and similar scrip, please simple advise  do not insult me!<br>
> > I looked in your Distribution fitting tool, but there I can not load my formula, just data  I do not need that.<br>
> > I already sent you my code for the bci, which is actually not 'vanila' log regression, but have some elements of neuron network even at this level.<br>
> > <br>
> > If you do not have experience in log regressions, better do not be that agressive  you are talking to real persons and clients. The questions I asked are routine  I am not asking you a code for a model  just simple thinksabout simple technical instruments. And Matlab is not a unique progarm. You are not unique, also.<br>
> > As far as I understand your job is to help people, not to insult them hiding behind the virtulal curtain and thinking you are untuchable. Giving technical saaistance is not giving godness<br>
> > My self, I am a lawyer, also.<br>
> ><br>
> Let us just cut this nonsense short right here. This is a internet newsgroup with voluntary contributions from randomly distributed (geographically, professionally and so on) people, who might be working with technical assistance  but the customer assistance from people working for Mathworks is not through this channel. If IIRC Tideman works in oceanography, but that might be a complete misunderstanding of mine. There are a fair number of homework type messages requesting solutions to this newsgroup and your message had the same look to it. As a lawyer you should have the schooling to learn what the rules of the forum you venture in are, shouldn't you? Had you done that you would have made your message clearly stated in such a way that it was obvious for everyone that it was not a homework...<br>
> <br>
> <br>
> Bjorn: I thoght this blog is supported by Matworks for the assitance of Matlab users. I could not imagine such impertinent behavior in a community pretending to be hilgly intelectual and educated. I realize now that this blog is full of nice people, who ask very direct interesting question and seldom receive good and specific answers  Most often the answers are simililar to "go to some item in help". <br>
<br>
This supports my impression, that Matlab is a very good package, but the environment is less user friendly than others  otherwise users would learn its basics quickly and not ask so much simple routine qestions, that may be dull for gurus (like tidmans). In education and science the experiment and the methods should be priority  not the tools. The tools should be clear and easy to use. if you need to spend more time to write every script from A to Z than on developing method and experiment  too bad... From economics point of view it is linked relation with clients and users (clients already). <br>
Still I do not see any real gurus in Logistics distrubutions and logit regressions in economics here, that may provide sound expertise and advise. This is not only our (users) problem ... this may be regarded as a problem of Matlab and Matwork.<br>
<br>
Your post does not add value  rather seems to some mentor's talk combined with multi conditional statements about something you are not specialistl in (the legal profession). I see you are working in very distant area from economics (and law). For an economist it was clear from the beginning, that my questions are not for "homework". I cannot make such difference in your area  and if I am not not specialist in some are, I never try to be the "salt & pepper for every dish". This is a matter of home  not academic education!

Mon, 20 May 2013 22:07:09 +0000
Re: Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904699
Bjorn Gustavsson
"Ilco Petrov" <ili191@mail.ru> wrote in message <kndqig$iua$1@newscl01ah.mathworks.com>...<br>
> "Bjorn Gustavsson" <bjonr@irf.se> wrote in message <kndelt$928$1@newscl01ah.mathworks.com>...<br>
> > "Ilco Petrov" <ili191@mail.ru> wrote in message <knd3jh$cm$1@newscl01ah.mathworks.com>...<br>
> > > TideMan <mulgor@gmail.com> wrote in message <14d2505136d7445893c83f3b844dc1b4@googlegroups.com>...<br>
> > > > On Monday, May 20, 2013 9:21:07 PM UTC+12, Ilco Petrov wrote:<br>
> > > > > Dear friends,<br>
> > > > > <br>
> > > > > %I have defined some log regression with follolwing CDF:<br>
> > > > > <br>
> > > > > p=[0.001,0.01:0.01:1];<br>
> > > > > <br>
> > > > > b1=0.01;<br>
> > > > > <br>
> > > > > b2=0.5;<br>
> > > > > <br>
> > > > > m=2;<br>
> > > > > <br>
> > > > > bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
> > > > > <br>
> > > > > plot(p,bci2100)<br>
> > > > > <br>
> > > > > % 0<p,bci, b12<=1<br>
> > > > > <br>
> > > > > <br>
> > > > > <br>
> > > > > How can I define in Matlab:<br>
> > > > > <br>
> > > > >  PDF for bci with a.m. dicrete'p' sequence;<br>
> > > > > <br>
> > > > >  CDF and PDF for bci as continiuos function;<br>
> > > > > <br>
> > > > >  generate random numbers for 'p' (say sets of 50, 100, 200 for 'p') in (0:1)<br>
> > > > > <br>
> > > > >  generate a detailed descriptive statistics report real or random 'bci'(similar to Excel and including mean, median, mode, stnandard deviation, sigma, standard mistakes, tststistics, hypothesis evaluation,) ; also relative and live reliblility<br>
> > > > > <br>
> > > > >  Compare 'bci' to a normal distribution and model 'bci' parmeters (b,m) to influence Mu and sigma (location and scale parameters) so than bci to be comparable to a normal distribution.<br>
> > > > > <br>
> > > > > <br>
> > > > > <br>
> > > > > Please send comments to my email. <br>
> > > > > <br>
> > > > > Best regards<br>
> > > > > <br>
> > > > > Ilian Petrov<br>
> > > > <br>
> > > > It's a homework assignment, isn't it?<br>
> > > > What have you done towards solving the problem?<br>
> > > > Show us your code and where you're having trouble, then someone might help.<br>
> > > > Or would you prefer us to just give you the code?<br>
> > > > Then you could claim our work as your own.<br>
> > > > The English word for people who do that is: CHEAT.<br>
> > > <br>
> > > <br>
> > > Dear Sir (Mr TiedMan),<br>
> > > Thanks for being very quick, kind and polite in your own way!<br>
> > > I have all thinks in in Excel, where I did not have any problem! My publication is already published in a top oil and gas magazine! <br>
> > > Sorry, I am new to Matlab, as I started to copy my project to another package since it will be a long project and it is better to recheck resullts. And to see if Matlab is better as product and service support. So far the second is not obvious at all, but I guess you are not a typical case, rather an... <br>
> > > It is not at all student homewok as I am a phd from Bulgaria (EU) based here in Moscow, where there are not much publications for Matlab, in Bulgaria also.<br>
> > > My colleages here in Moscow are very kind and the Matlab community is very supportive and cooperative. But they work on technical aspects, while my project is in economics and there is no expertise in logistics distributions. The point is that my aproach to the log regression is specific and does not fit with typical ways of expression and formula. <br>
> > > The questions I asked are routine  I am not asking you a code for a modelq Or some top secret data or individual algorithm.<br>
> > > If you have some publications and similar scrip, please simple advise  do not insult me!<br>
> > > I looked in your Distribution fitting tool, but there I can not load my formula, just data  I do not need that.<br>
> > > I already sent you my code for the bci, which is actually not 'vanila' log regression, but have some elements of neuron network even at this level.<br>
> > > <br>
> > > If you do not have experience in log regressions, better do not be that agressive  you are talking to real persons and clients. The questions I asked are routine  I am not asking you a code for a model  just simple thinksabout simple technical instruments. And Matlab is not a unique progarm. You are not unique, also.<br>
> > > As far as I understand your job is to help people, not to insult them hiding behind the virtulal curtain and thinking you are untuchable. Giving technical saaistance is not giving godness<br>
> > > My self, I am a lawyer, also.<br>
> > ><br>
> > Let us just cut this nonsense short right here. This is a internet newsgroup with voluntary contributions from randomly distributed (geographically, professionally and so on) people, who might be working with technical assistance  but the customer assistance from people working for Mathworks is not through this channel. If IIRC Tideman works in oceanography, but that might be a complete misunderstanding of mine. There are a fair number of homework type messages requesting solutions to this newsgroup and your message had the same look to it. As a lawyer you should have the schooling to learn what the rules of the forum you venture in are, shouldn't you? Had you done that you would have made your message clearly stated in such a way that it was obvious for everyone that it was not a homework...<br>
> > <br>
> > <br>
> > Bjorn: I thoght this blog is supported by Matworks for the assitance of Matlab users. I could not imagine such impertinent behavior in a community pretending to be hilgly intelectual and educated. I realize now that this blog is full of nice people, who ask very direct interesting question and seldom receive good and specific answers  Most often the answers are simililar to "go to some item in help". <br>
><br>
Well, impertinent, indeed: impertinent.<br>
<br>
In my field of work I haven't run into logistic regression problems, so I can only refer you to the documentation for mnrfit, and mnrval.<br>
><br>
> This supports my impression, that Matlab is a very good package, but the environment is less user friendly than others  otherwise users would learn its basics quickly and not ask so much simple routine qestions, that may be dull for gurus (like tidmans). In <br>
><br>
I think you underestimate the vast number of students that face matlab for the first time every semester, and the number of students that has homework assignments in various courses from algebra, statistics, physics economics and whatnot. <br>
><br>
education and science the experiment and the methods should be priority  not the tools. The tools should be clear and easy to use. if you need to spend more time to write every script from A to Z than on developing method and experiment  too bad... From <br>
><br>
Tools and methods has _always_ been developed and made by someone, to have new and improved tools in the future, education has to teach some how such tools are developed and made. That you have the fortune to see this in a slightly different light is fortunate for you.<br>
><br>
economics point of view it is linked relation with clients and users (clients already). <br>
> Still I do not see any real gurus in Logistics distrubutions and logit regressions in economics here, that may provide sound expertise and advise. This is not only our (users) problem ... this may be regarded as a problem of Matlab and Matwork.<br>
> <br>
> Your post does not add value  rather seems to some mentor's talk combined with multi conditional statements about something you are not specialistl in (the legal profession). <br>
><br>
I actually thought it to be a bit more basic than that. But lets skip manners. <br>
><br>
I see you are working in very distant area from economics (and law). For an economist it was clear from the beginning, that my questions are not for "homework". I cannot make such difference in your area  and if I am not not specialist in some are, I never try to be the "salt & pepper for every dish". This is a matter of home  not academic education!<br>
<br>
For Tideman and me your question seemed to be perfectly reasonable for a course in statistics, so there's that.

Tue, 21 May 2013 22:27:52 +0000
Re: Log CDF and PDF
http://www.mathworks.com/matlabcentral/newsreader/view_thread/329087#904744
Tom Lane
> bci2100=p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
> plot(p,bci2100)<br>
> % 0<p,bci, b12<=1<br>
><br>
> How can I define in Matlab:<br>
>  PDF for bci with a.m. dicrete'p' sequence;<br>
>  CDF and PDF for bci as continiuos function;<br>
> ...<br>
<br>
You have quite a debate going on with other folks.<br>
<br>
I would be interesting in answering your question, but I don't understand <br>
it. If you want to generate random p values and use the bci2100 expression <br>
to derive random bci2100 values, this does that:<br>
<br>
F = @(p) p./(1+(((log(p)/log(b1)+log(p)/log(b2)))./m).^m);<br>
newbci = F(rand(1000,1));<br>
hist(newbci, 40)<br>
<br>
If you want to treat your curve as a cdf and invert it, in other words <br>
generate random bci2100 values and find the corresponding p values, you <br>
could do the following interpolation as an approximation:<br>
<br>
plot(p,bci2100)<br>
pnew = interp1(bci2100,p,rand(1000,1));<br>
hold on; ecdf(pnew); hold off % < for comparison, if you have the <br>
Statistics Toolbox<br>
<br>
It's unlikely you will find someone to "generate a detailed descriptive <br>
statistics report" for you, but if you ask a specific question related to <br>
that you may get some help.<br>
<br>
 Tom