Coder Social home page Coder Social logo

multivariate_freq_dist's Introduction

multivariate_freq_dist

When you use the crosstab function in Python, you get a pivot table of two variables. The index of this pivot table consists of the index parameter in which you write the pivot table function. When we want these index values to be a frequency distribution range, the crosstab or pivot functions in Python cannot respond to this need. This function is written to meet this need and is a pivot table function where two variables can be indexed with statistically significant frequency distribution ranges.

Use of:

The function takes 4 parameters:
given_df = dataframe
given_series1= column of dataframe where you want the pivot table to index
given_series2= the column you want the dataframe to come into the columns of the pivot table
m= how many intervals the frequency distribution will consist of;
    If m = None, it divides statistically significant frequency ranges by default.

multivariate_freq_dist(given_df, given_series1, given_series2, m)

Example:

Please upload the data file in the files section. df=pd.read_excel('data.xlsx') Then write the following command: multivariate_freq_dist(df, 'bioistatistik_notu', 'lise_basarisi', 5)

References:

  1. Semra ORAL ERBAŞ, Olasılık ve İstatistik
  2. E. Alptekin ESIN, Sağlık Bilimlerinde İstatistik

multivariate_freq_dist's People

Contributors

nildenist avatar

Watchers

James Cloos avatar  avatar

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.