Code Monkey home page Code Monkey logo

Comments (10)

JustasB avatar JustasB commented on July 29, 2024

Hmm, it looks like the API does not disambiguate SEs from SDs. From @stripathy:

If you look at the summary spreadsheet here: http://neuroelectro.org/static/src/article_ephys_metadata_curated.csv, you'll see 6 terms per ephys property, for example for rmp: (rmp rmp_raw rmp_err rmp_n rmp_sd rmp_note). The n term is provided by the authors and the sd term is converted from the standard error (err) term provided by the authors.

In terms of the api, we only export the n and error terms (we don't disambiguate whether the error is a standard error or a SD).

from neuronunit.

stripathy avatar stripathy commented on July 29, 2024

Good point @JustasB - I'll add a field to the api that allows you to disambiguate whether the errors are SD or SEM.

from neuronunit.

JustasB avatar JustasB commented on July 29, 2024

@stripathy Let us know when the SD/SEM flag is ready -- I have everything in place on our side to look for the flag.

However works for you, but it would work for me if it was something along the lines of:

screen shot 2016-05-28 at 8 28 35 am

from neuronunit.

rgerkin avatar rgerkin commented on July 29, 2024

@JustasB @stripathy I implemented most of the API so I think it might be faster if I figure this one out (unless you have someone on it already, Shreejoy), but it will probably have to wait a few days.

from neuronunit.

JustasB avatar JustasB commented on July 29, 2024

Sounds good guys, whatever works for you

from neuronunit.

stripathy avatar stripathy commented on July 29, 2024

Hi @rgerkin and @JustasB - I'll take care of this tomorrow before leaving town. It's super simple on my end, I just need to add a field to the DB indicating what the error type is and then do a migration.

from neuronunit.

stripathy avatar stripathy commented on July 29, 2024

I just implemented this feature as requested. You'll now see a field called "error_type" on nedm data objects indicating the error type. http://dev.neuroelectro.org/api/1/nedm/?n=129

Please note that we're using a computational method to "guess" what the error type is (based on the size of the errors relative to the mean across all the data extracted for each article) vs manually curating whether errors are SDs vs SEMs. If you come across papers where the imputed error type is wrong, please let me know.

screen shot 2016-06-06 at 4 51 57 pm

from neuronunit.

JustasB avatar JustasB commented on July 29, 2024

Thanks @stripathy

For the error type, when I looked at the MC data, the err or err_norm value (if existed) always corresponded to the SEM. However in the API, its not always SEM. Thoughts?

This is where I talk about it always being SEM:

neuroelectro/neuroelectro_org#290 (comment)

from neuronunit.

rgerkin avatar rgerkin commented on July 29, 2024

@JustasB Did you ever implement this?

from neuronunit.

JustasB avatar JustasB commented on July 29, 2024

@rgerkin The functionality to compute grand means and SDs from individual paper means and sds has been implemented in neuronunit:

class NeuroElectroPooledSummary(NeuroElectroDataMap):

@stripathy implemented the change to return the error type:
#13 (comment)

and neuronunit code is using the error types of each paper to determine the grand mean and sd.

from neuronunit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.