Overall Assessment:
Great job! Your responses suggest a generally rational and disciplined approach to investing with a low tendency towards common behavioral biases. Continue to maintain self-awareness and review your decision-making process regularly.
Overall Assessment:
Behavioral biases are a natural part of human decision-making, and recognizing them is a significant step towards becoming a more effective investor. Focus on the areas where you have a moderate to high tendency, and actively implement the suggested mitigation strategies. Consistency in applying these strategies will help you make more rational, long-term oriented investment decisions.
Disclaimer: This tool provides a simplified assessment based on your self-reported answers. It is for educational purposes only and should not be considered professional financial or psychological advice. Real-world behavioral finance is complex, and individual biases can manifest in subtle and unique ways. Always consult with a qualified financial advisor for personalized investment guidance.
`; biasResultsOutput.innerHTML = resultsHtml; } // PDF Download Functionality downloadPdfBtn.addEventListener('click', function() { const { jsPDF } = window.jspdf; const doc = new jsPDF(); const biasesData = { overconfidence: { questions: 2, name: "Overconfidence Bias", description: "Overestimating your own abilities, knowledge, or accuracy of predictions in investing, often leading to excessive trading or insufficient diversification.", tips: [ "Keep a trading journal to track rationale and outcomes, comparing actual performance against your predictions.", "Seek out opposing viewpoints and disconfirming evidence for your investment ideas.", "Understand that professional investors often struggle to consistently beat the market; humility is key." ] }, confirmation: { questions: 2, name: "Confirmation Bias", description: "Seeking out and interpreting information in a way that confirms one's existing beliefs or hypotheses, while ignoring contradictory evidence.", tips: [ "Actively search for information that challenges your investment thesis.", "Formulate a 'pre-mortem' – imagine your investment fails and brainstorm why it happened.", "Diversify your information sources beyond those that echo your views." ] }, lossaversion: { questions: 2, name: "Loss Aversion Bias", description: "The tendency to prefer avoiding losses to acquiring equivalent gains; the pain of a loss is psychologically more powerful than the pleasure of an equivalent gain.", tips: [ "Set predetermined stop-loss orders or exit strategies for all investments.", "Focus on your long-term financial goals rather than short-term fluctuations.", "Evaluate investments based on their current fundamentals, not their purchase price." ] }, herding: { questions: 2, name: "Herding Bias", description: "The tendency to follow the actions (buying or selling) of a larger group, often due to a desire to conform or a belief that the group knows more.", tips: [ "Conduct your own independent research and analysis before making investment decisions.", "Define your investment strategy and stick to it, regardless of market fads or panic.", "Remember Warren Buffett's advice: 'Be fearful when others are greedy, and greedy when others are fearful.'" ] }, anchoring: { questions: 2, name: "Anchoring Bias", description: "Over-relying on the first piece of information encountered (the 'anchor') when making decisions, even if that information is irrelevant.", tips: [ "Always evaluate investments based on their current fair value and future potential, not past prices.", "Regularly review your portfolio without looking at initial purchase prices for a fresh perspective.", "Challenge your initial reference points and seek multiple valuation metrics." ] }, availability: { questions: 2, name: "Availability Bias (or Recency Bias)", description: "Giving more weight to easily recalled, recent, or vivid information, rather than a comprehensive assessment of all available data.", tips: [ "Focus on long-term historical data and trends, not just recent performance or dramatic headlines.", "Maintain a disciplined rebalancing strategy to avoid overweighting recently strong performers.", "Use checklists or systematic processes to ensure all relevant information is considered, not just the most salient." ] }, disposition: { questions: 2, name: "Disposition Effect", description: "The tendency to sell winning investments too early (to lock in gains) and hold losing investments too long (hoping they will recover).", tips: [ "Implement strict stop-loss orders for all positions to cut losses automatically.", "Let your winners run by using trailing stops or re-evaluating them only at predetermined intervals.", "Consider the tax implications (tax-loss harvesting) of selling losers, which can sometimes provide a rational incentive." ] }, statusquo: { questions: 2, name: "Status Quo Bias", description: "A preference for the current state of affairs, resisting change even when new information suggests a different course of action might be beneficial.", tips: [ "Schedule regular portfolio reviews (e.g., quarterly or semi-annually) to actively reassess your holdings.", "Periodically ask yourself: 'If I didn't own this investment already, would I buy it today?'", "Consider the opportunity cost of holding onto underperforming assets." ] } }; let pdfY = 20; doc.setFontSize(22); doc.setTextColor(30, 64, 138); // Dark Blue doc.text("Behavioral Bias Assessment Report", 105, pdfY, null, null, "center"); pdfY += 15; doc.setFontSize(12); doc.setTextColor(55, 65, 81); // Gray-700 doc.text("This report provides an assessment of your potential behavioral biases in investing based on your questionnaire responses. Understanding these biases is crucial for making more rational financial decisions.", 20, pdfY); pdfY += 15; let allBiasScores = []; for (const key in biasesData) { if (biasesData.hasOwnProperty(key)) { const bias = biasesData[key]; const score = calculateBiasScore(key, bias.questions); let scoreDescription = "Very Low Tendency"; if (score >= 75) { scoreDescription = "High Tendency"; } else if (score >= 50) { scoreDescription = "Moderate Tendency"; } else if (score >= 25) { scoreDescription = "Low Tendency"; } allBiasScores.push({ ...bias, score: score, scoreDescription: scoreDescription }); } } doc.setFontSize(16); doc.setTextColor(30, 64, 138); doc.text("Your Bias Scores", 20, pdfY + 10); pdfY += 15; // Prepare table data const tableColumn = ["Bias", "Score (/100)", "Tendency"]; const tableRows = []; allBiasScores.forEach(bias => { tableRows.push([ bias.name, bias.score.toFixed(2), bias.scoreDescription ]); }); doc.autoTable({ startY: pdfY + 5, head: [tableColumn], body: tableRows, theme: 'grid', styles: { fillColor: [243, 244, 246] }, headStyles: { fillColor: [59, 130, 246], textColor: [255, 255, 255] }, margin: { left: 20, right: 20 } }); pdfY = doc.autoTable.previous.finalY + 10; // Detailed Bias Analysis and Tips doc.addPage(); pdfY = 20; doc.setFontSize(18); doc.setTextColor(30, 64, 138); doc.text("Detailed Bias Analysis and Mitigation Strategies", 105, pdfY, null, null, "center"); pdfY += 15; allBiasScores.forEach(bias => { if (pdfY + 50 > doc.internal.pageSize.height) { // Check for page overflow doc.addPage(); pdfY = 20; // Reset Y for new page } doc.setFontSize(16); doc.setTextColor(30, 64, 138); doc.text(`${bias.name} (Score: ${bias.score.toFixed(2)}) - ${bias.scoreDescription}`, 20, pdfY + 5); pdfY += 10; doc.setFontSize(12); doc.setTextColor(55, 65, 81); const descriptionLines = doc.splitTextToSize(bias.description, 170); doc.text(descriptionLines, 20, pdfY + 5); pdfY += (descriptionLines.length * 7) + 5; if (bias.score >= 25) { // Only show tips for low, moderate, and high tendencies doc.setFontSize(14); doc.setTextColor(75, 85, 99); doc.text("Tips to Mitigate:", 20, pdfY + 5); pdfY += 7; doc.setFontSize(12); doc.setTextColor(55, 65, 81); bias.tips.forEach((tip, index) => { const tipLines = doc.splitTextToSize(`• ${tip}`, 170); doc.text(tipLines, 20, pdfY + 5); pdfY += (tipLines.length * 7) + 3; }); } else { doc.setFontSize(12); doc.setTextColor(22, 163, 74); doc.text("Your answers suggest a low tendency towards this bias. Keep up the good habits!", 20, pdfY + 5); pdfY += 10; } pdfY += 10; // Space between biases }); // Disclaimer at the end if (pdfY + 30 > doc.internal.pageSize.height) { // Check for page overflow before adding disclaimer doc.addPage(); pdfY = 20; // Reset Y for new page } doc.setFontSize(10); doc.setTextColor(107, 114, 128); const disclaimer = "Disclaimer: This tool provides a simplified assessment based on your self-reported answers. It is for educational purposes only and should not be considered professional financial or psychological advice. Real-world behavioral finance is complex, and individual biases can manifest in subtle and unique ways. Always consult with a qualified financial advisor for personalized investment guidance."; const splitDisclaimer = doc.splitTextToSize(disclaimer, 170); doc.text(splitDisclaimer, 20, pdfY + 10); doc.save('Behavioral_Bias_Report.pdf'); }); // Initialize the first tab as active on load activateTab(0); });