diff --git a/Thesis.tex b/Thesis.tex index e505f66..0733759 100644 --- a/Thesis.tex +++ b/Thesis.tex @@ -1052,19 +1052,19 @@ Before entering the survey, each participant had to pass the bot test by enterin ] \addplot[1,fill=1] coordinates {(62,0) }; %{(113,0) }; absolutni cisla, potrebuje to procenta -\addplot[3,fill=3] coordinates {(36,0) }; +\addplot[4,fill=4] coordinates {(36,0) }; %{(67,0) }; -\addplot[4,fill=4] coordinates {(1,0) }; +\addplot[3,fill=3] coordinates {(1,0) }; %{(1,0) }; \addplot[6,fill=6] coordinates {(1,0) }; %{(1,0) }; -\legend{Valid responses [113],Partially filled [67],Too fast [1],Invalid [1] +\legend{Valid responses [113],Partially filled [67],Too fast response [1],Invalid [1] } -\coordinate (A) at (200,0);% ******** start of changes ************ -\coordinate (B) at (300,8mm); +\coordinate (A) at (30,0);% ******** start of changes ************ +\coordinate (B) at (80,0); \end{axis} -\node at (A) {test}; -\node at (B) {test 2};% ********* end of changes ********** +\node at (A) {62\%}; +\node at (B) {37\%};% ********* end of changes ********** \end{tikzpicture} \caption{Overview of respondents in the user survey dataset.} \label{chart:price}\end{figure}\end{center} diff --git a/attachments/sql-queries/users_query.sql b/attachments/sql-queries/users_query.sql index c161706..81fc0d3 100644 --- a/attachments/sql-queries/users_query.sql +++ b/attachments/sql-queries/users_query.sql @@ -137,3 +137,5 @@ SELECT In_which_age_group_are_you, COUNT(*), (COUNT(*)*100)/113 FROM users GROUP SELECT Select_your_highest_achieved_level_of_education, COUNT(*), (COUNT(*)*100)/113 FROM users GROUP BY Select_your_highest_achieved_level_of_education; SELECT Do_you_work_or_study_in_IT_related_field, COUNT(*), (COUNT(*)*100)/113 FROM users GROUP BY Do_you_work_or_study_in_IT_related_field; + +SELECT COUNT(*) FROM users WHERE Did_you_ever_need_to_restore_your_wallet LIKE 'yes' AND Do_you_have_a_backup_of_your_wallet LIKE 'yes'; \ No newline at end of file diff --git a/attachments/sql-queries/users_query_chi.sql b/attachments/sql-queries/users_query_chi.sql index 4ba129e..694864c 100644 --- a/attachments/sql-queries/users_query_chi.sql +++ b/attachments/sql-queries/users_query_chi.sql @@ -1,3 +1,18 @@ +SELECT COUNT(*) FROM users WHERE Did_you_ever_need_to_restore_your_wallet LIKE 'yes'; +SELECT COUNT(*) FROM users WHERE Did_you_ever_need_to_restore_your_wallet LIKE 'no'; + +SELECT COUNT(*) FROM users WHERE Which_type_of_wallet_do_you_use_Hot_wallet LIKE 'yes'; +SELECT COUNT(*) FROM users WHERE Which_type_of_wallet_do_you_use_Cold_wallet LIKE 'yes'; + +SELECT COUNT(*) FROM users WHERE Did_you_ever_need_to_restore_your_wallet LIKE 'yes' AND Which_type_of_wallet_do_you_use_Hot_wallet LIKE 'yes'; +SELECT COUNT(*) FROM users WHERE Did_you_ever_need_to_restore_your_wallet LIKE 'no' AND Which_type_of_wallet_do_you_use_Hot_wallet LIKE 'yes'; + +SELECT COUNT(*) FROM users WHERE Did_you_ever_need_to_restore_your_wallet LIKE 'yes' AND Which_type_of_wallet_do_you_use_Cold_wallet LIKE 'yes'; +SELECT COUNT(*) FROM users WHERE Did_you_ever_need_to_restore_your_wallet LIKE 'no' AND Which_type_of_wallet_do_you_use_Cold_wallet LIKE 'yes'; + + + + SELECT COUNT(*) FROM users WHERE Which_platforms_do_you_use_to_access_Monero_Linux like 'yes' AND Did_you_ever_need_to_restore_your_wallet like 'yes'; SELECT COUNT(*) FROM users WHERE Which_platforms_do_you_use_to_access_Monero_Windows like 'yes' AND Did_you_ever_need_to_restore_your_wallet like 'yes'; SELECT COUNT(*) FROM users WHERE Which_platforms_do_you_use_to_access_Monero_Linux like 'yes' AND Have_you_ever_been_affected_by_malicious_software like 'yes';