Bug 107583 - Math is not working out
Summary: Math is not working out
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.6.2 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-03 10:15 UTC by John Smith
Modified: 2017-12-04 14:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
stat.xlsx (7.92 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2017-05-03 10:15 UTC, John Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2017-05-03 10:15:16 UTC
Description:
I am not sure what is mathematically distorting with the spreadsheet, as 63% of a population size turns out to be a proportion that is too small.

I was trying to work out a margin of error.  

Further reading
1. https://en.wikipedia.org/wiki/Margin_of_error
2. Original information sourced from www.timesofmalta.com on a custom control.

Steps to Reproduce:
1. Open the attachment and read the sheet 'persentagg'.
Sheet cells H2:H4 are proportions that do not reflect the basic mathematical operators.



Actual Results:  
The actual results are difficult to compare for the literate reader.

Expected Results:
I doubt whether they are correct, and, whether mathematical proof can be made available through some plug-in as this would help me.




Reproducible: Always

User Profile Reset: No

Additional Info:
By the way is a Maltese-language version [ISO-639-2] of Libre Office planned to be available or is a plug-in already available?

Is a web-based version of LibreOffice planned to be written?


User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Comment 1 John Smith 2017-05-03 10:15:39 UTC
Created attachment 133020 [details]
stat.xlsx
Comment 2 Adolfo Jayme Barrientos 2017-05-03 13:22:39 UTC Comment hidden (off-topic)
Comment 3 Alex Thurgood 2017-05-03 13:40:47 UTC
Not database related, changing module to Calc. Potentially, this could be a filter problem.
Comment 4 m_a_riosv 2017-05-06 01:37:40 UTC
(In reply to John Smith from comment #0)
> Description:
> I am not sure what is mathematically distorting with the spreadsheet, as 63%
> of a population size turns out to be a proportion that is too small.
> 
> I was trying to work out a margin of error.  
> 
> Further reading
> 1. https://en.wikipedia.org/wiki/Margin_of_error
> 2. Original information sourced from www.timesofmalta.com on a custom
> control.
> .....
> Actual Results:  
> The actual results are difficult to compare for the literate reader.
> 
> Expected Results:
> I doubt whether they are correct, and, whether mathematical proof can be
> made available through some plug-in as this would help me.
> 
I don't know what it's the meaning for formulas on H dividing percents by the population, but results are correct.
If the issue is with the format, then formating H cells on a prefered way, should help.
I can't see any bug here.
Comment 5 Buovjaga 2017-05-07 13:48:44 UTC
John: are you cool with closing this as NOTABUG?
Comment 6 QA Administrators 2017-12-04 12:45:11 UTC Comment hidden (obsolete)
Comment 7 John Smith 2017-12-04 13:51:35 UTC
Does the attachment help to highlight the issue?
Comment 8 Buovjaga 2017-12-04 14:06:39 UTC
(In reply to John Smith from comment #7)
> Does the attachment help to highlight the issue?

I was kind of hoping we could close this as "not a bug" per:

(In reply to m.a.riosv from comment #4)
> I don't know what it's the meaning for formulas on H dividing percents by
> the population, but results are correct.
> If the issue is with the format, then formating H cells on a prefered way,
> should help.
> I can't see any bug here.

If you disagree, please answer Miguel's question in detail.
Comment 9 Aron Budea 2017-12-04 14:18:52 UTC
What is supposed to be in column H? If you want simply the number people based on the total population and percentage, simply multiply the two numbers.

Additionally, the Other field is calculated incorrectly, it should be 100% minus the other two percentages (the three entries in the same column should add up to 100%).

Note that if this is related to political party preferences (guessing based on the names PL and PN), then it doesn't seem to be correct to use the whole population for reference, only those who are eligible to vote (or even those who have a definite choice, otherwise there is an uncertain category as well).

Regarding your other questions, currently there's no Maltese language version of LibreOffice, most likely because of lack of Maltese contributors (it is always planned, but it's up to the language-specaking community to step up).
There is a web-/cloud-based LibreOffice called LibreOffice Online.

Closing as WORKSFORME, please reset status to UNCONFIRMED if you still think there is a bug somewhere in LibreOffice.