GithubHelp home page GithubHelp logo

level2type2mf's Introduction

FsQCA New Calibration Method: Type-2 Level-2 MF

Calculating New Membership Function for fsQCA Paper: J. Mendel and M. Korjani, "A New Method for Calibrating the Fuzzy Sets Used in fsQCA," submitted to Information Science, 2018

Type: Package Author: Mehdi Korjani, email: korjani at gmail.com

A number of methods have been published on how to map data collected from a group of subjects into the FOU of a word. The Interval Approach (IA) was the first such method; it was followed by the Enhanced Interval Approach (EIA) , which makes use of more information from the collected data than does the IA. More recently, the HM Approach (HMA) was developed; it makes use of even more information from the collected data than does the EIA.

The IA, EIA and HMA were all initially developed assuming that data can be collected from a group of subjects, and that such a group is available. Sometimes such a group is not available and only one knowledgeable expert is available, e.g. Prof. Ragin or any other fsQCA scholar. Mendel and Wu have presented a different way to collect data from one person, after which that data can be used to generate even more data for what might be called a “virtual group of subjects.” The HMA is then directly applied to that larger set of data.

J. Mendel, M. Korjani, "A New Method for Calibrating the Fuzzy Sets Used in fsQCA," Information science, 2018

How to run the program

The program calculate FOUs for three words and provide FOU and center of set of each FOU which can be used for assigning breakpoints in fsQCA and generate S-shape level2 MF, It also illustrates FOU to see the MFs

1- Install R and R Studio

You need to install R (https://www.r-project.org) and R Studio (https://www.rstudio.com/products/rstudio/download/)

2- Install R package: library(pracma)

install.packages('pracma')

go to RStudio->tool->install Packages
and add "pracma" to packages then install

3- Download the package on your computer

You can download it https://github.com/korjani/Level2Type2MF/archive/master.zip

or

You can clone the repository in the terminal: git clone [email protected]:korjani/Level2Type2MF.git

Also the package is included in R CRAN webserver

4- In RStudio->file-open project select the the folder that you downloaded. Then Select oneSubjectSshapeMF.R file

5- Set intervals in oneSubjectSshapeMF.R

define end points for one subject interval

1- On the scale of l to r, what are the endpoints of an interval of numbers ([aL,bL]) that you associate with the left end-point of the word
2- On the scale of l to r, what are the endpoints of an interval of numbers ([aR,bR]) that you associate with the right end-point of the word

dataL = c(aL1, aR1, aL2, aR2, aL3, aR3)

dataR = c(bL1, bR1, bL2, bR2, bL3, bR3)

6- Run the program in R using Run button on the scripts

7- Results are stored in:

MFsLow:
MFsMod
MFsHig
CenterLow: Low membership breakpoint (fully out)
CenterModerate: Moderate membership breakpoint (nor fully in nor out)
CenterHigh: high membership breakpoint (fully in)

FOUs has nine parameters:
(p1, p2, p3, p4, p5, p6, p7, p8, p9)

FOU

level2type2mf's People

Contributors

korjani avatar

Watchers

 avatar

Forkers

xiaochengcike

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.