<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 11, 2016 at 11:26 AM, Rui Sarmento <span dir="ltr"><<a href="mailto:rui_sarmento@hotmail.com" target="_blank">rui_sarmento@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi Ralf,</p>
<p>Yes, in fact I was trying to submit in git but I have some
doubts. I will explore it more tomorrow (it is late here).</p>
<p>For example I still have doubts with this:</p>
<p>"If you are adding new functionality, you need to add it to the
documentation by editing (or creating) the appropriate file in <code>docs/source</code>."</p>
<p>What exactly is "the appropriate file"?</p>
<p>and also "Open the <code>docs/source/release/versionX.<wbr>X.rst</code>
file that has the version number of the next release and add your
changes to the appropriate section", I see that the last version
in the repository is version0.8.rst but I'm not sure this is the
file I should edit...</p>
<p>Maybe tomorrow with a good night sleep I'll figure it out.</p></div></blockquote><div><br></div><div>Okay, I'd say just don't worry too much about those details if it's not clear. Here's what you do:<br></div><div>1. Send an email to the statsmodels mailing list saying you want to add KMO and Bartlett's spericity, ask if that's welcomed and in what file to put that.<br></div><div>2. Add your functions in that file, and add tests for that (for function in fname.py, tests go in tests/test_fname.py).<br></div><div>3. Commit that and put it up on your own GitHub account.<br></div><div>4. From there, send a pull request to statsmodels. Or if it's really not in good enough shape, Cc me (@rgommers) and I'll give you a few pointers.<br><br></div><div>Let's take the discussion off this list, this is very off-topic.<br><br></div><div>Cheers,<br></div><div>Ralf<br><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<p>Cheers,</p>
<p>Rui<br>
</p><div><div class="h5">
<div>Às 22:56 de 10-09-2016, Ralf Gommers
escreveu:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Sep 11, 2016 at 6:24 AM, Rui
Sarmento <span dir="ltr"><<a href="mailto:rui_sarmento@hotmail.com" target="_blank">rui_sarmento@hotmail.com</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF">
<p>Dear Ralf,</p>
<p>No problem, its always nice to discover something
new. In fact I've seen the statsmodel page you sent,
talking about submitting with git. I'm not familiar
with these procedures. Is there a How-To you would
suggest me to read? It is the first time I submit to
these repositories. My goal is to submit two
functions, one for Bartlett and another for KMO.<br>
</p>
</div>
</blockquote>
<div><br>
</div>
<div>Did you see that this page expands at the bottom? This
is pretty much a walkthrough of how you go about
submitting a PR: <a href="http://statsmodels.sourceforge.net/devel/dev/git_notes.html" target="_blank">http://statsmodels.<wbr>sourceforge.net/devel/dev/git_<wbr>notes.html</a>.
It also has links to a couple of other helpful tutorials.<br>
<br>
</div>
<div>Cheers,<br>
</div>
<div>Ralf<br>
<br>
</div>
<div><br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF">
<p> </p>
<p>Cheers,</p>
<p>Rui<br>
</p>
<div>
<div> <br>
<div>Às 23:07 de 09-09-2016, Ralf Gommers escreveu:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Sep 10, 2016
at 10:01 AM, Rui Sarmento <span dir="ltr"><<a href="mailto:rui_sarmento@hotmail.com" target="_blank">rui_sarmento@hotmail.com</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF">
<p>Dear Ralf,</p>
<p>Thank you for your suggestions. About
the Bartlett test I'm aware that one
of his tests (equal variance of
samples) is already available.
Nonetheless, I'm not talking about
that particular test but about other
Bartlett's test. The test I wish to
contribute is directed to Factor
Analysis and is related to the test
for sphericity. I'll try to submit
both to the statsmodel. <br>
</p>
</div>
</blockquote>
<div><br>
</div>
<div>Ah okay, thanks - learned something
new. For Bartlett's sphericity test
statsmodels is probably also the best
place indeed.<br>
<br>
</div>
<div>Cheers,<br>
</div>
<div>Ralf<br>
<br>
</div>
<div> <br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF">
<p> </p>
<p>Best Regards,</p>
<p>Rui<br>
</p>
<div>Às 22:46 de 09-09-2016, Ralf
Gommers escreveu:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri,
Sep 9, 2016 at 6:29 PM, Ronny
Pfannschmidt <span dir="ltr"><<a href="mailto:opensource@ronnypfannschmidt.de" target="_blank">opensource@ronnypfannschmidt.<wbr>de</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Hello Rui,<br>
<br>
this mailing list deal with
tools you can use to publish
3rd party packages to
something like the pypi
package index,<br>
<br>
if you want to add to the
python stdlib, you need to get
started with python-ideas,
python-dev and very likely
write a PEP that will have to
get accepted.<br>
<br>
if you just want to publish
your own library, you just
need to upload it to pypi and
make it known.<br>
<br>
-- Ronny<br>
<br>
On 06.09.2016 17:06, Rui
Sarmento wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> Dear Sirs,<br>
<br>
I've implemented some stats
functions related to Factor
Analysis in the statistics
area. Specifically, the KMO
test and the Bartlett test
also. At this time I do not
seem to find any module
performing these tests. Is
there any chance I could add
these functions to a package
in Python. What is the
procedure to perform such
contribution.<br>
</blockquote>
</blockquote>
<div><br>
</div>
<div>Barlett is already
implemented in SciPy: <a href="http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.bartlett.html" target="_blank">http://docs.scipy.org/doc/scip<wbr>y/reference/generated/scipy.st<wbr>ats.bartlett.html</a><br>
<br>
</div>
<div>KMO isn't available
anywhere as far as I can tell;
statsmodels would be the best
place if you would like to
contribute your implementation
there. See <a href="http://statsmodels.sourceforge.net/devel/dev/" target="_blank">http://statsmodels.sourceforge<wbr>.net/devel/dev/</a>
for how to go about that. I
wouldn't bother proposing that
for stdlib inclusion, it's way
too specialized for that.<br>
<br>
</div>
<div>Cheers,<br>
</div>
<div>Ralf<br>
<br>
</div>
<div><br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> <br>
Thank you very much in
advance for the suggestions.<br>
<br>
Best Regards,<br>
<br>
Rui<br>
<br>
______________________________<wbr>_________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a rel="noreferrer" href="https://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/distutils-sig</a><br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a rel="noreferrer" href="https://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/distutils-sig</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div>