trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

The polarity algorithm issue #193

Open Maple-Wang opened 10 years ago

Maple-Wang commented 10 years ago

C=x_i^2/√(n)

Where:

x_i^T=∑((1 + c * (x_i^A - x_i^D)) * w(-1)^(∑x_i^N))

x_i^A=∑(w_neg * x_i^a)

x_i^D = max(x_i^D', -1)

x_i^D'=∑(- w_neg * x_i^a + x_i^d)

w_neg= (∑x_i^N) mod 2


The sigma in the last function is a sum of numbers or scores?

why dose "w_neg * x_i^a“ in the second and forth function?

trinker commented 10 years ago

Please spend some time to format your questions, after you've thoroughly read the documentation, to be be clearer in what you're talking about.

I don't understand the first question as I don't know what you mean by last. Use the equation in text to ask.

I don't understand what you mean by:

why dose "w_neg * x_i^a“ in the second and forth function?

Maple-Wang commented 10 years ago

I think you should write clear about the summation index.

Maple-Wang commented 10 years ago

From the first function ,we can see the polarity C >=0 forever.

trinker commented 10 years ago

I'm not a mathematician. Please do a pull request if you can improve the notation.

Maple-Wang commented 10 years ago

Please give me your material about the computation ,I can give you the precise mathematic function. My email: me.maple.wang@gmail.com